Sha256: 31922d579c1f6b33cc82ba3edd9818348144780e53ae55682296f5f2fcabe08e
Contents?: true
Size: 336 Bytes
Versions: 12
Compression:
Stored size: 336 Bytes
Contents
module Kubes::Hooks module Concern # options example: {:name=>"apply", :file=>".kubes/output/web/service.yaml"} def run_hooks(file, options={}, &block) hooks = Kubes::Hooks::Builder.new("#{Kubes.root}/.kubes/config/hooks/#{file}", options) hooks.build # build hooks hooks.run_hooks(&block) end end end
Version data entries
12 entries across 12 versions & 1 rubygems