class K8S::Api::Policy::V1::PodDisruptionBudgetStatus

Overview

PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget. Status may trail the actual state of a system.

Included Modules

Defined in:

versions/v1.21/api/policy/v1/pod_disruption_budget_status.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, current_healthy : Int32, desired_healthy : Int32, disruptions_allowed : Int32, expected_pods : Int32, conditions : Array(Apimachinery::Apis::Meta::V1::Condition)? = nil, disrupted_pods : Hash(String, Time)? = nil, observed_generation : Int32? = nil) #

[View source]

Instance Method Detail

def conditions : Array(Apimachinery::Apis::Meta::V1::Condition)? #

[View source]
def conditions=(conditions : Array(Apimachinery::Apis::Meta::V1::Condition)?) #

[View source]
def current_healthy : Int32 #

[View source]
def current_healthy=(current_healthy : Int32) #

[View source]
def desired_healthy : Int32 #

[View source]
def desired_healthy=(desired_healthy : Int32) #

[View source]
def disrupted_pods : Hash(String, Time)? #

[View source]
def disrupted_pods=(disrupted_pods : Hash(String, Time)?) #

[View source]
def disruptions_allowed : Int32 #

[View source]
def disruptions_allowed=(disruptions_allowed : Int32) #

[View source]
def expected_pods : Int32 #

[View source]
def expected_pods=(expected_pods : Int32) #

[View source]
def observed_generation : Int32? #

[View source]
def observed_generation=(observed_generation : Int32?) #

[View source]