module Kubes::Hooks::Concern

Public Instance Methods

run_hooks(file, options={}, &block) click to toggle source

options example: {:name=>“apply”, :file=>“.kubes/output/web/service.yaml”}

# File lib/kubes/hooks/concern.rb, line 4
def run_hooks(file, options={}, &block)
  hooks = Kubes::Hooks::Builder.new(file, options)
  hooks.build # build hooks
  hooks.run_hooks(&block)
end