Module: Kontena::CloudCommand
- Included in:
- Command
- Defined in:
- lib/kontena_cli_plugin.rb
Constant Summary collapse
- PLATFORM_NOT_SELECTED_ERROR =
"Platform not selected, use 'kontena cloud platform use' to select a platform"
Instance Method Summary collapse
Instance Method Details
#verify_current_grid ⇒ Object
76 77 78 79 80 |
# File 'lib/kontena_cli_plugin.rb', line 76 def verify_current_grid super rescue ArgumentError exit_with_error PLATFORM_NOT_SELECTED_ERROR end |
#verify_current_master ⇒ Object
64 65 66 67 68 |
# File 'lib/kontena_cli_plugin.rb', line 64 def verify_current_master super rescue ArgumentError exit_with_error PLATFORM_NOT_SELECTED_ERROR end |
#verify_current_master_token ⇒ Object
70 71 72 73 74 |
# File 'lib/kontena_cli_plugin.rb', line 70 def verify_current_master_token super rescue ArgumentError exit_with_error PLATFORM_NOT_SELECTED_ERROR end |