Class: Wombat::DeleteRunner
- Inherits:
-
Object
- Object
- Wombat::DeleteRunner
- Includes:
- Common
- Defined in:
- lib/wombat/delete.rb
Instance Attribute Summary collapse
-
#cloud ⇒ Object
readonly
Returns the value of attribute cloud.
-
#resource_management_client ⇒ Object
Returns the value of attribute resource_management_client.
-
#stack ⇒ Object
readonly
Returns the value of attribute stack.
Instance Method Summary collapse
-
#initialize(opts) ⇒ DeleteRunner
constructor
A new instance of DeleteRunner.
- #start ⇒ Object
Methods included from Common
#audio?, #azure_provider_tag, #banner, #bootstrap_aws, #build_nodes, #calculate_templates, #conf, #connect_azure, #create_infranodes_json, #create_resource_group, #deployment_state, #duration, #follow_azure_deployment, #info, #infranodes, #is_mac?, #is_valid_json?, #linux, #list_outstanding_deployment_operations, #lock, #logs, #parse_log, #update_lock, #update_template, #warn, #wombat, #workstations
Constructor Details
#initialize(opts) ⇒ DeleteRunner
Returns a new instance of DeleteRunner.
12 13 14 15 16 17 18 |
# File 'lib/wombat/delete.rb', line 12 def initialize(opts) @stack = opts.stack @cloud = opts.cloud.nil? ? "aws" : opts.cloud @force = opts.force.nil? ? false : opts.force @azure_async = opts.azure_async.nil? ? false : opts.azure_async @wombat_yml = opts.wombat_yml unless opts.wombat_yml.nil? end |
Instance Attribute Details
#cloud ⇒ Object (readonly)
Returns the value of attribute cloud.
9 10 11 |
# File 'lib/wombat/delete.rb', line 9 def cloud @cloud end |
#resource_management_client ⇒ Object
Returns the value of attribute resource_management_client.
10 11 12 |
# File 'lib/wombat/delete.rb', line 10 def resource_management_client @resource_management_client end |
#stack ⇒ Object (readonly)
Returns the value of attribute stack.
9 10 11 |
# File 'lib/wombat/delete.rb', line 9 def stack @stack end |
Instance Method Details
#start ⇒ Object
20 21 22 |
# File 'lib/wombat/delete.rb', line 20 def start cfn_delete_stack(stack) end |