Class: KubeDSL::DSL::V1::ReplicationControllerStatus
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
28
29
30
|
# File 'lib/kube-dsl/dsl/v1/replication_controller_status.rb', line 28
def kind_sym
:replication_controller_status
end
|
#serialize ⇒ Object
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/kube-dsl/dsl/v1/replication_controller_status.rb', line 17
def serialize
{}.tap do |result|
result[:availableReplicas] = available_replicas
result[:conditions] = conditions.map(&:serialize)
result[:fullyLabeledReplicas] = fully_labeled_replicas
result[:observedGeneration] = observed_generation
result[:readyReplicas] = ready_replicas
result[:replicas] = replicas
end
end
|