Class: ECSUtil::Commands::SecretsCommand
- Inherits:
-
ECSUtil::Command
- Object
- ECSUtil::Command
- ECSUtil::Commands::SecretsCommand
- Defined in:
- lib/ecsutil/commands/secrets.rb
Instance Attribute Summary
Attributes inherited from ECSUtil::Command
Instance Method Summary collapse
Methods inherited from ECSUtil::Command
Methods included from Shared
#deregister_scheduled_tasks, #deregister_secrets, #deregister_services, #deregister_tasks, #load_active_task_definitions, #load_secrets, #load_services
Methods included from Vault
#vault_edit, #vault_read, #vault_write
Methods included from AWS
#aws_call, #create_service, #degerister_task_definition, #delete_rule, #delete_service, #describe_service, #describe_services, #fetch_parameter_store_keys, #generate_event_rule, #generate_event_target, #generate_service, #generate_task_definition, #list_active_task_definitions, #list_rules, #list_services, #put_rule, #put_targets, #register_task_definition, #update_service
Methods included from Helpers
#array_hash, #confirm, #json_file, #parse_env_data, #step_info, #terminate
Constructor Details
This class inherits a constructor from ECSUtil::Command
Instance Method Details
#run ⇒ Object
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/ecsutil/commands/secrets.rb', line 2 def run case action when nil, "show" show_local_secrets when "edit" edit_secrets when "push" push_secrets when "live" load_secrets show_live_secrets when "delete" confirm load_secrets deregister_secrets else fail "Invalid action: #{action}" end end |