Module: Moonshot

Defined in:
lib/moonshot/commands/parameter_arguments.rb,
lib/moonshot.rb,
lib/moonshot/task.rb,
lib/moonshot/stack.rb,
lib/plugins/backup.rb,
lib/moonshot/command.rb,
lib/moonshot/resources.rb,
lib/moonshot/controller.rb,
lib/moonshot/ssh_config.rb,
lib/moonshot/ssh_command.rb,
lib/moonshot/command_line.rb,
lib/moonshot/commands/new.rb,
lib/moonshot/commands/ssh.rb,
lib/moonshot/creds_helper.rb,
lib/moonshot/stack_config.rb,
lib/moonshot/stack_lister.rb,
lib/moonshot/commands/list.rb,
lib/moonshot/commands/push.rb,
lib/moonshot/doctor_helper.rb,
lib/moonshot/unicode_table.rb,
lib/moonshot/commands/build.rb,
lib/moonshot/merge_strategy.rb,
lib/moonshot/stack_template.rb,
lib/moonshot/ask_user_source.rb,
lib/moonshot/commands/create.rb,
lib/moonshot/commands/delete.rb,
lib/moonshot/commands/deploy.rb,
lib/moonshot/commands/doctor.rb,
lib/moonshot/commands/status.rb,
lib/moonshot/commands/update.rb,
lib/moonshot/stack_parameter.rb,
lib/moonshot/commands/console.rb,
lib/moonshot/commands/version.rb,
lib/moonshot/default_strategy.rb,
lib/moonshot/resources_helper.rb,
lib/moonshot/controller_config.rb,
lib/moonshot/ssh_fork_executor.rb,
lib/moonshot/stack_asg_printer.rb,
lib/moonshot/tools/asg_rollout.rb,
lib/moonshot/stack_list_printer.rb,
lib/moonshot/json_stack_template.rb,
lib/moonshot/ssh_command_builder.rb,
lib/moonshot/ssh_target_selector.rb,
lib/moonshot/stack_events_poller.rb,
lib/moonshot/yaml_stack_template.rb,
lib/moonshot/parameter_collection.rb,
lib/moonshot/stack_output_printer.rb,
lib/moonshot/tools/asg_rollout/asg.rb,
lib/moonshot/stack_parameter_printer.rb,
lib/moonshot/interactive_logger_proxy.rb,
lib/moonshot/tools/asg_rollout_config.rb,
lib/moonshot/always_use_default_source.rb,
lib/moonshot/parent_stack_parameter_loader.rb,
lib/moonshot/tools/asg_rollout/asg_instance.rb,
lib/moonshot/tools/asg_rollout/instance_health.rb,
lib/moonshot/tools/asg_rollout/hook_exec_environment.rb

Overview

rubocop:disable LineLength

Defined Under Namespace

Modules: ArtifactRepository, BuildMechanism, Commands, CredsHelper, DeploymentMechanism, DoctorHelper, ParameterStrategy, Plugins, ResourcesHelper, Shell, Tools Classes: AlwaysUseDefaultSource, AskUserSource, Command, CommandLine, Controller, ControllerConfig, InteractiveLoggerProxy, JsonStackTemplate, ParameterCollection, ParentStackParameterLoader, Resources, SSHCommand, SSHCommandBuilder, SSHConfig, SSHForkExecutor, SSHTargetSelector, Stack, StackASGPrinter, StackConfig, StackEventsPoller, StackListPrinter, StackLister, StackOutputPrinter, StackParameter, StackParameterPrinter, StackTemplate, Task, UnicodeTable, YamlStackTemplate

Constant Summary collapse

DoctorCritical =
Class.new(RuntimeError)

Class Attribute Summary collapse

Class Attribute Details

.configObject



12
13
14
15
# File 'lib/moonshot.rb', line 12

def self.config
  @config ||= Moonshot::ControllerConfig.new
  block_given? ? yield(@config) : @config
end