Class: KubeDSL::DSL::Extensions::V1beta1::DaemonSetCondition

Inherits:
KubeDSL::DSLObject show all
Defined in:
lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_condition.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



25
26
27
# File 'lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_condition.rb', line 25

def kind_sym
  :daemon_set_condition
end

#serializeObject



15
16
17
18
19
20
21
22
23
# File 'lib/kube-dsl/dsl/extensions/v1beta1/daemon_set_condition.rb', line 15

def serialize
  {}.tap do |result|
    result[:lastTransitionTime] = last_transition_time
    result[:message] = message
    result[:reason] = reason
    result[:status] = status
    result[:type] = type
  end
end