Sha256: 430171cb4776fcfb6f6914b02a53cb18fad1896698b5ca59f9f9da056fbe9e1c

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

module Kuby::CRDB::DSL::CRDB::V1alpha1
  class SpecAffinityNodeAffinityRequiredDuringSchedulingIgnoredDuringExecution < ::KubeDSL::DSLObject
    value_field :node_selector_terms

    validates :node_selector_terms, field: { format: :string }, presence: true

    def serialize
      {}.tap do |result|
        result[:nodeSelectorTerms] = node_selector_terms
      end
    end

    def kind_sym
      :spec_affinity_node_affinity_required_during_scheduling_ignored_during_execution
    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_affinity_node_affinity_required_during_scheduling_ignored_during_execution.rb