Class: ElasticGraph::SetupEnv
- Inherits:
-
Object
- Object
- ElasticGraph::SetupEnv
- Defined in:
- lib/elastic_graph/cli.rb
Constant Summary collapse
- DATASTORE_NAMES =
{"elasticsearch" => "Elasticsearch", "opensearch" => "OpenSearch"}
- DATASTORE_UI_NAMES =
{"elasticsearch" => "Kibana", "opensearch" => "OpenSearch Dashboards"}
Instance Method Summary collapse
Instance Method Details
#datastore_name ⇒ Object
98 99 100 |
# File 'lib/elastic_graph/cli.rb', line 98 def datastore_name DATASTORE_NAMES.fetch(datastore) end |
#datastore_ui_name ⇒ Object
102 103 104 |
# File 'lib/elastic_graph/cli.rb', line 102 def datastore_ui_name DATASTORE_UI_NAMES.fetch(datastore) end |
#ruby_major_minor ⇒ Object
106 107 108 |
# File 'lib/elastic_graph/cli.rb', line 106 def ruby_major_minor "3.4" end |