module GClouder::Resources::Compute::ForwardingRules
Public Class Methods
check()
click to toggle source
# File lib/gclouder/resources/compute/forwarding_rules.rb, line 32 def self.check end
ensure()
click to toggle source
# File lib/gclouder/resources/compute/forwarding_rules.rb, line 14 def self.ensure return if Local.list.empty? header Local.list.each do |region, rules| info region, heading: true, indent: 2 info rules.each do |rule| Rule.ensure(rule["name"], rule) end end end
header(stage = :ensure)
click to toggle source
# File lib/gclouder/resources/compute/forwarding_rules.rb, line 10 def self.header(stage = :ensure) info "[#{stage}] compute / forwarding-rules", indent: 1, title: true end
validate()
click to toggle source
# File lib/gclouder/resources/compute/forwarding_rules.rb, line 26 def self.validate return if Local.list.empty? header :validate Local.validate end