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.cr

Constructors

Instance Method Summary

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) #

Instance Method Detail

def current_healthy : Int32 #

def current_healthy=(current_healthy : Int32) #

def desired_healthy : Int32 #

def desired_healthy=(desired_healthy : Int32) #

def disrupted_pods : Hash(String, String)? #

def disrupted_pods=(disrupted_pods : Hash(String, String)?) #

def disruptions_allowed : Int32 #

def disruptions_allowed=(disruptions_allowed : Int32) #

def expected_pods : Int32 #

def expected_pods=(expected_pods : Int32) #

def observed_generation : Int32? #

def observed_generation=(observed_generation : Int32?) #