Module: GClouder::Resources::Compute::BackendBuckets::Local
- Includes:
- Config::Project, Logging
- Defined in:
- lib/gclouder/resources/compute/backend_buckets.rb
Class Method Summary collapse
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?
Class Method Details
.list ⇒ Object
49 50 51 |
# File 'lib/gclouder/resources/compute/backend_buckets.rb', line 49 def self.list Resources::Global.instances(path: %w(compute backend-buckets)) end |
.validate ⇒ Object
40 41 42 43 44 45 46 47 |
# File 'lib/gclouder/resources/compute/backend_buckets.rb', line 40 def self.validate info "global", heading: true, indent: 2 Resources::Validate::Global.instances( list, required_keys: GClouder::Config::Arguments.required(%w(compute backend-buckets)), permitted_keys: GClouder::Config::Arguments.permitted(%w(compute backend-buckets)), ) end |