Sha256: 5f93757aa56975c5620bced66e54bf3c3d9c2808f0faa74d64d013ad99d83fe2

Contents?: true

Size: 228 Bytes

Versions: 45

Compression:

Stored size: 228 Bytes

Contents

module Kubes::Compiler::Decorator
  class Pre < Base
    def process
      case @data['kind']
      when "ConfigMap", "Secret"
        Hashable.new(@data).store
      else
        @data # passthrough
      end
    end
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
kubes-0.9.3 lib/kubes/compiler/decorator/pre.rb
kubes-0.9.2 lib/kubes/compiler/decorator/pre.rb
kubes-0.9.1 lib/kubes/compiler/decorator/pre.rb
kubes-0.9.0 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.10 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.9 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.8 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.7 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.6 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.5 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.4 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.3 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.2 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.1 lib/kubes/compiler/decorator/pre.rb
kubes-0.8.0 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.10 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.9 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.8 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.7 lib/kubes/compiler/decorator/pre.rb
kubes-0.7.6 lib/kubes/compiler/decorator/pre.rb