Class: KubeDSL::DSL::Policy::V1beta1::PodDisruptionBudgetStatus
Instance Method Summary
collapse
#initialize, #to_resource
extended
extended
Instance Method Details
#kind_sym ⇒ Object
28
29
30
|
# File 'lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_status.rb', line 28
def kind_sym
:pod_disruption_budget_status
end
|
#serialize ⇒ Object
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/kube-dsl/dsl/policy/v1beta1/pod_disruption_budget_status.rb', line 17
def serialize
{}.tap do |result|
result[:currentHealthy] = current_healthy
result[:desiredHealthy] = desired_healthy
result[:disruptedPods] = disrupted_pods.serialize
result[:disruptionsAllowed] = disruptions_allowed
result[:expectedPods] = expected_pods
result[:observedGeneration] = observed_generation
end
end
|