Module: GClouder::Resources::RuntimeConfig::Configs::Local
- Includes:
- Config::CLIArgs, Config::Project, Logging
- Defined in:
- lib/gclouder/resources/runtime-config/configs.rb
Class Method Summary collapse
- .list ⇒ Object
-
.validate ⇒ Object
FIXME: improve validation.
Methods included from Logging
#add, #bad, #change, #debug, #error, #fatal, #good, included, #info, log, loggers, #remove, report, #resource_state, setup, #warn, #warning
Methods included from Config::Project
Methods included from Helpers
#hash_to_args, included, #module_exists?, #to_arg, #to_deep_merge_hash, #valid_json?
Methods included from Config::CLIArgs
check, #cli_args, cli_args, included, load, valid_resources
Class Method Details
.list ⇒ Object
49 50 51 |
# File 'lib/gclouder/resources/runtime-config/configs.rb', line 49 def self.list GClouder::Resources::Global.instances(path: %w(runtime-config configs)) end |
.validate ⇒ Object
FIXME: improve validation
41 42 43 44 45 46 47 |
# File 'lib/gclouder/resources/runtime-config/configs.rb', line 41 def self.validate Resources::Validate::Region.instances( list, required_keys: GClouder::Config::Arguments.required(%w(runtime-config configs)), permitted_keys: GClouder::Config::Arguments.permitted(%w(runtime-config configs)) ) end |