Module: Moonshot

Defined in:
lib/plugins/encrypted_parameters.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/change_set.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/stack_template.rb,
lib/moonshot/account_context.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/plugins/dynamic_template.rb,
lib/moonshot/commands/console.rb,
lib/moonshot/commands/version.rb,
lib/moonshot/dynamic_template.rb,
lib/moonshot/resources_helper.rb,
lib/plugins/code_deploy_setup.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/commands/tag_arguments.rb,
lib/moonshot/command_line_dispatcher.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/commands/generate_template.rb,
lib/plugins/encrypted_parameters/kms_key.rb,
lib/moonshot/commands/interactive_command.rb,
lib/moonshot/commands/parameter_arguments.rb,
lib/moonshot/commands/parent_stack_option.rb,
lib/moonshot/parent_stack_parameter_loader.rb,
lib/moonshot/tools/asg_rollout/asg_instance.rb,
lib/moonshot/commands/show_all_events_option.rb,
lib/moonshot/tools/asg_rollout/instance_health.rb,
lib/moonshot/tools/asg_rollout/hook_exec_environment.rb,
lib/plugins/encrypted_parameters/parameter_encrypter.rb

Overview

rubocop:disable Layout/LineLength

Defined Under Namespace

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

Constant Summary collapse

DoctorCritical =
Class.new(RuntimeError)

Class Attribute Summary collapse

Class Attribute Details

.configObject



21
22
23
24
# File 'lib/moonshot.rb', line 21

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