Class: KubeDSL::DSL::Apps::V1::DeploymentCondition
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
28
29
30
|
# File 'lib/kube-dsl/dsl/apps/v1/deployment_condition.rb', line 28
def kind_sym
:deployment_condition
end
|
#serialize ⇒ Object
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/kube-dsl/dsl/apps/v1/deployment_condition.rb', line 17
def serialize
{}.tap do |result|
result[:lastTransitionTime] = last_transition_time
result[:lastUpdateTime] = last_update_time
result[:message] = message
result[:reason] = reason
result[:status] = status
result[:type] = type
end
end
|