Class: CemAcpt::Config::CemAcptImage
- Defined in:
- lib/cem_acpt/config/cem_acpt_image.rb
Overview
Holds the configuration for cem_acpt_image
Constant Summary collapse
- VALID_KEYS =
%i[ cem_acpt_image dry_run images image_name_filter no_build_images node_data ].freeze
Constants inherited from Base
Base::BASE_VALID_KEYS, Base::DEEP_MERGE_OPTS
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#defaults ⇒ Object
The default configuration.
- #env_var_prefix ⇒ Object
Methods inherited from Base
#[], #ci_mode?, #debug_mode?, #empty?, #explain, #get, #has?, inherited, #initialize, #inspect, #load, load_hook, #quiet_mode?, #to_json, #to_yaml, #valid_keys, #verbose_mode?
Constructor Details
This class inherits a constructor from CemAcpt::Config::Base
Instance Method Details
#defaults ⇒ Object
The default configuration
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/cem_acpt/config/cem_acpt_image.rb', line 29 def defaults { cem_acpt_image: { no_linux: false, no_windows: false, }, ci_mode: false, config_file: nil, dry_run: false, images: {}, image_name_filter: Regexp.new('.*'), log_level: 'info', log_file: nil, log_format: 'text', no_destroy_nodes: false, no_ephemeral_ssh_key: false, node_data: {}, platform: { name: 'gcp', }, quiet: false, verbose: false, } end |
#env_var_prefix ⇒ Object
24 25 26 |
# File 'lib/cem_acpt/config/cem_acpt_image.rb', line 24 def env_var_prefix 'CEM_ACPT_IMAGE' end |