Sha256: 2552ee3a0ba41cf0a422f32a45df4bdd10114d800058ebdb3efbedc28d7d30b5
Contents?: true
Size: 598 Bytes
Versions: 1
Compression:
Stored size: 598 Bytes
Contents
module Kuby::CRDB::DSL::CRDB::V1alpha1 class SpecImage < ::KubeDSL::DSLObject value_field :pull_policy value_field :name value_field :pull_secret validates :pull_policy, field: { format: :string }, presence: false validates :name, field: { format: :string }, presence: true validates :pull_secret, field: { format: :string }, presence: false def serialize {}.tap do |result| result[:pullPolicy] = pull_policy result[:name] = name result[:pullSecret] = pull_secret end end def kind_sym :spec_image end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kuby-crdb-0.1.0 | lib/kuby/crdb/dsl/crdb/v1alpha1/spec_image.rb |