Class: GitlabQuality::TestTooling::TestMetricsExporter::Config::ClickHouse
- Inherits:
-
Object
- Object
- GitlabQuality::TestTooling::TestMetricsExporter::Config::ClickHouse
- Defined in:
- lib/gitlab_quality/test_tooling/test_metrics_exporter/config.rb
Overview
ClickHouse client configuration object
Instance Attribute Summary collapse
-
#database ⇒ Object
readonly
Returns the value of attribute database.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#table_name ⇒ Object
readonly
Returns the value of attribute table_name.
-
#url ⇒ Object
readonly
Returns the value of attribute url.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(url:, database:, table_name:, username:, password:) ⇒ ClickHouse
constructor
A new instance of ClickHouse.
Constructor Details
#initialize(url:, database:, table_name:, username:, password:) ⇒ ClickHouse
Returns a new instance of ClickHouse.
28 29 30 31 32 33 34 |
# File 'lib/gitlab_quality/test_tooling/test_metrics_exporter/config.rb', line 28 def initialize(url:, database:, table_name:, username:, password:) @url = url @database = database @table_name = table_name @username = username @password = password end |
Instance Attribute Details
#database ⇒ Object (readonly)
Returns the value of attribute database.
36 37 38 |
# File 'lib/gitlab_quality/test_tooling/test_metrics_exporter/config.rb', line 36 def database @database end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
36 37 38 |
# File 'lib/gitlab_quality/test_tooling/test_metrics_exporter/config.rb', line 36 def password @password end |
#table_name ⇒ Object (readonly)
Returns the value of attribute table_name.
36 37 38 |
# File 'lib/gitlab_quality/test_tooling/test_metrics_exporter/config.rb', line 36 def table_name @table_name end |
#url ⇒ Object (readonly)
Returns the value of attribute url.
36 37 38 |
# File 'lib/gitlab_quality/test_tooling/test_metrics_exporter/config.rb', line 36 def url @url end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
36 37 38 |
# File 'lib/gitlab_quality/test_tooling/test_metrics_exporter/config.rb', line 36 def username @username end |