Class: Moonshot::ControllerConfig
- Inherits:
-
Object
- Object
- Moonshot::ControllerConfig
- Defined in:
- lib/moonshot/controller_config.rb
Overview
Holds configuration for Moonshot::Controller
Instance Attribute Summary collapse
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#artifact_repository ⇒ Object
Returns the value of attribute artifact_repository.
-
#auto_prefix_stack ⇒ Object
Returns the value of attribute auto_prefix_stack.
-
#build_mechanism ⇒ Object
Returns the value of attribute build_mechanism.
-
#deployment_mechanism ⇒ Object
Returns the value of attribute deployment_mechanism.
-
#environment_name ⇒ Object
Returns the value of attribute environment_name.
-
#interactive_logger ⇒ Object
Returns the value of attribute interactive_logger.
-
#logger ⇒ Object
Returns the value of attribute logger.
-
#parameter_strategy ⇒ Object
Returns the value of attribute parameter_strategy.
-
#parent_stacks ⇒ Object
Returns the value of attribute parent_stacks.
-
#plugins ⇒ Object
Returns the value of attribute plugins.
-
#show_all_stack_events ⇒ Object
Returns the value of attribute show_all_stack_events.
-
#ssh_auto_scaling_group_name ⇒ Object
Returns the value of attribute ssh_auto_scaling_group_name.
-
#ssh_command ⇒ Object
Returns the value of attribute ssh_command.
-
#ssh_identity_file ⇒ Object
Returns the value of attribute ssh_identity_file.
-
#ssh_instance ⇒ Object
Returns the value of attribute ssh_instance.
-
#ssh_user ⇒ Object
Returns the value of attribute ssh_user.
Instance Method Summary collapse
-
#initialize ⇒ ControllerConfig
constructor
A new instance of ControllerConfig.
Constructor Details
#initialize ⇒ ControllerConfig
Returns a new instance of ControllerConfig.
24 25 26 27 28 29 30 31 32 |
# File 'lib/moonshot/controller_config.rb', line 24 def initialize @auto_prefix_stack = true @interactive_logger = InteractiveLogger.new @logger = Logger.new(STDOUT) @parent_stacks = [] @plugins = [] @show_all_stack_events = false @parameter_strategy = Moonshot::ParameterStrategy::DefaultStrategy.new end |
Instance Attribute Details
#app_name ⇒ Object
Returns the value of attribute app_name.
6 7 8 |
# File 'lib/moonshot/controller_config.rb', line 6 def app_name @app_name end |
#artifact_repository ⇒ Object
Returns the value of attribute artifact_repository.
7 8 9 |
# File 'lib/moonshot/controller_config.rb', line 7 def artifact_repository @artifact_repository end |
#auto_prefix_stack ⇒ Object
Returns the value of attribute auto_prefix_stack.
8 9 10 |
# File 'lib/moonshot/controller_config.rb', line 8 def auto_prefix_stack @auto_prefix_stack end |
#build_mechanism ⇒ Object
Returns the value of attribute build_mechanism.
9 10 11 |
# File 'lib/moonshot/controller_config.rb', line 9 def build_mechanism @build_mechanism end |
#deployment_mechanism ⇒ Object
Returns the value of attribute deployment_mechanism.
10 11 12 |
# File 'lib/moonshot/controller_config.rb', line 10 def deployment_mechanism @deployment_mechanism end |
#environment_name ⇒ Object
Returns the value of attribute environment_name.
11 12 13 |
# File 'lib/moonshot/controller_config.rb', line 11 def environment_name @environment_name end |
#interactive_logger ⇒ Object
Returns the value of attribute interactive_logger.
12 13 14 |
# File 'lib/moonshot/controller_config.rb', line 12 def interactive_logger @interactive_logger end |
#logger ⇒ Object
Returns the value of attribute logger.
13 14 15 |
# File 'lib/moonshot/controller_config.rb', line 13 def logger @logger end |
#parameter_strategy ⇒ Object
Returns the value of attribute parameter_strategy.
17 18 19 |
# File 'lib/moonshot/controller_config.rb', line 17 def parameter_strategy @parameter_strategy end |
#parent_stacks ⇒ Object
Returns the value of attribute parent_stacks.
14 15 16 |
# File 'lib/moonshot/controller_config.rb', line 14 def parent_stacks @parent_stacks end |
#plugins ⇒ Object
Returns the value of attribute plugins.
15 16 17 |
# File 'lib/moonshot/controller_config.rb', line 15 def plugins @plugins end |
#show_all_stack_events ⇒ Object
Returns the value of attribute show_all_stack_events.
16 17 18 |
# File 'lib/moonshot/controller_config.rb', line 16 def show_all_stack_events @show_all_stack_events end |
#ssh_auto_scaling_group_name ⇒ Object
Returns the value of attribute ssh_auto_scaling_group_name.
22 23 24 |
# File 'lib/moonshot/controller_config.rb', line 22 def ssh_auto_scaling_group_name @ssh_auto_scaling_group_name end |
#ssh_command ⇒ Object
Returns the value of attribute ssh_command.
21 22 23 |
# File 'lib/moonshot/controller_config.rb', line 21 def ssh_command @ssh_command end |
#ssh_identity_file ⇒ Object
Returns the value of attribute ssh_identity_file.
19 20 21 |
# File 'lib/moonshot/controller_config.rb', line 19 def ssh_identity_file @ssh_identity_file end |
#ssh_instance ⇒ Object
Returns the value of attribute ssh_instance.
18 19 20 |
# File 'lib/moonshot/controller_config.rb', line 18 def ssh_instance @ssh_instance end |
#ssh_user ⇒ Object
Returns the value of attribute ssh_user.
20 21 22 |
# File 'lib/moonshot/controller_config.rb', line 20 def ssh_user @ssh_user end |