class Pyrite::Api::Policy::V1beta1::PodDisruptionBudgetStatus
Overview
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
Defined in:
versions/v1.14/api/policy/v1beta1/pod_disruption_budget_status.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget.
-
.new(pull : JSON::PullParser)
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget.
- .new(*, current_healthy : Int32, desired_healthy : Int32, disrupted_pods : Hash(String, String)? = nil, disruptions_allowed : Int32, expected_pods : Int32, observed_generation : Int32? = nil)
Instance Method Summary
- #current_healthy : Int32
- #current_healthy=(current_healthy : Int32)
- #desired_healthy : Int32
- #desired_healthy=(desired_healthy : Int32)
- #disrupted_pods : Hash(String, String)?
- #disrupted_pods=(disrupted_pods : Hash(String, String)?)
- #disruptions_allowed : Int32
- #disruptions_allowed=(disruptions_allowed : Int32)
- #expected_pods : Int32
- #expected_pods=(expected_pods : Int32)
- #observed_generation : Int32?
- #observed_generation=(observed_generation : Int32?)
Constructor methods inherited from class Pyrite::Kubernetes::Spec
new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)new(pull : JSON::PullParser) new
Constructor Detail
def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
#
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
def self.new(pull : JSON::PullParser)
#
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.
def self.new(*, current_healthy : Int32, desired_healthy : Int32, disrupted_pods : Hash(String, String)? = nil, disruptions_allowed : Int32, expected_pods : Int32, observed_generation : Int32? = nil)
#