Class: Ufo::CLI::Base
- Inherits:
-
Object
- Object
- Ufo::CLI::Base
- Extended by:
- Memoist
- Includes:
- AwsServices, Ufo::Concerns, Utils::Logging, Utils::Pretty, Utils::Sure
- Defined in:
- lib/ufo/cli/base.rb
Direct Known Subclasses
Build, Cancel, Clean, Destroy, Exec, Logs, Ps, Ps::Task, Releases, Rollback, Scale, Ship, Status, Stop, Ufo::Cfn::Base, Info, LogGroup, TaskDefinition::Builder, TaskDefinition::Erb, TaskDefinition::Erb::Base
Instance Attribute Summary collapse
-
#task_definition ⇒ Object
readonly
Returns the value of attribute task_definition.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Base
constructor
A new instance of Base.
Methods included from Utils::Sure
Methods included from Utils::Pretty
#pretty_home, #pretty_path, #pretty_time
Methods included from Utils::Logging
Methods included from Ufo::Concerns
Methods included from Ufo::Concerns::Names
Methods included from AwsServices
#acm, #applicationautoscaling, #aws_options, #cfn, #cloudwatchlogs, #ec2, #ecr, #ecs, #elb, #s3, #ssm_client, #waf_client
Methods included from AwsServices::Concerns
#find_stack, #find_stack_resources, #stack_resources, #status, #task_definition_arns
Constructor Details
#initialize(options = {}) ⇒ Base
Returns a new instance of Base.
11 12 13 14 15 16 |
# File 'lib/ufo/cli/base.rb', line 11 def initialize(={}) @options = @task_definition = Ufo::TaskDefinition.new() @stack_name = names.stack @cluster = names.cluster end |
Instance Attribute Details
#task_definition ⇒ Object (readonly)
Returns the value of attribute task_definition.
10 11 12 |
# File 'lib/ufo/cli/base.rb', line 10 def task_definition @task_definition end |