Class: KubeDSL::DSL::V1::PodReadinessGate

Inherits:
KubeDSL::DSLObject show all
Defined in:
lib/kube-dsl/dsl/v1/pod_readiness_gate.rb

Instance Method Summary collapse

Methods inherited from KubeDSL::DSLObject

#initialize, #to_resource

Methods included from ValueFields

extended

Methods included from Validations

extended

Constructor Details

This class inherits a constructor from KubeDSL::DSLObject

Instance Method Details

#kind_symObject



13
14
15
# File 'lib/kube-dsl/dsl/v1/pod_readiness_gate.rb', line 13

def kind_sym
  :pod_readiness_gate
end

#serializeObject



7
8
9
10
11
# File 'lib/kube-dsl/dsl/v1/pod_readiness_gate.rb', line 7

def serialize
  {}.tap do |result|
    result[:conditionType] = condition_type
  end
end