Class: KubeDSL::DSL::Apps::V1::StatefulSetStatus
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
37
38
39
|
# File 'lib/kube-dsl/dsl/apps/v1/stateful_set_status.rb', line 37
def kind_sym
:stateful_set_status
end
|
#serialize ⇒ Object
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# File 'lib/kube-dsl/dsl/apps/v1/stateful_set_status.rb', line 23
def serialize
{}.tap do |result|
result[:collisionCount] = collision_count
result[:conditions] = conditions.map(&:serialize)
result[:currentReplicas] = current_replicas
result[:currentRevision] = current_revision
result[:observedGeneration] = observed_generation
result[:readyReplicas] = ready_replicas
result[:replicas] = replicas
result[:updateRevision] = update_revision
result[:updatedReplicas] = updated_replicas
end
end
|