Class: KubeDSL::DSL::V1::ComponentStatus
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
18
19
20
|
# File 'lib/kube-dsl/dsl/v1/component_status.rb', line 18
def kind_sym
:component_status
end
|
#serialize ⇒ Object
9
10
11
12
13
14
15
16
|
# File 'lib/kube-dsl/dsl/v1/component_status.rb', line 9
def serialize
{}.tap do |result|
result[:apiVersion] = "v1"
result[:conditions] = conditions.map(&:serialize)
result[:kind] = "ComponentStatus"
result[:metadata] = metadata.serialize
end
end
|