Module: NeetoDeploy::CLI::Redis::Constants
- Included in:
- Console, Get, ResetStats, Set
- Defined in:
- lib/neeto_deploy/cli/redis/constants.rb
Constant Summary collapse
- NEETO_DEPLOY_CLI_API_ADDONS_REDIS_URL =
"#{NEETO_DEPLOY_CLI_API_BASE_URL}/addons/redis".freeze
- AVAILABLE_REDIS_CONFIGS_TO_EDIT =
["maxmemory-policy", "notify-keyspace-events"]
Instance Method Summary collapse
Instance Method Details
#available_configs_to_edit ⇒ Object
14 15 16 |
# File 'lib/neeto_deploy/cli/redis/constants.rb', line 14 def available_configs_to_edit AVAILABLE_REDIS_CONFIGS_TO_EDIT end |
#console_session_base_url ⇒ Object
18 19 20 |
# File 'lib/neeto_deploy/cli/redis/constants.rb', line 18 def console_session_base_url "#{NEETO_DEPLOY_CLI_API_BASE_URL}/addons/console_sessions" end |
#redis_addon_url ⇒ Object
10 11 12 |
# File 'lib/neeto_deploy/cli/redis/constants.rb', line 10 def redis_addon_url NEETO_DEPLOY_CLI_API_ADDONS_REDIS_URL end |