class K8S::Api::Autoscaling::V2beta1::HorizontalPodAutoscalerStatus

Overview

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

Included Modules

Defined in:

versions/v1.21/api/autoscaling/v2beta1/horizontal_pod_autoscaler_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(*, conditions : Array, current_replicas : Int32, desired_replicas : Int32, current_metrics : Array? = nil, last_scale_time : Time? = nil, observed_generation : Int32? = nil) #

[View source]

Instance Method Detail


[View source]
def conditions=(conditions : Array(Api::Autoscaling::V2beta1::HorizontalPodAutoscalerCondition)) #

[View source]
def current_metrics : Array(Api::Autoscaling::V2beta1::MetricStatus)? #

[View source]
def current_metrics=(current_metrics : Array(Api::Autoscaling::V2beta1::MetricStatus)?) #

[View source]
def current_replicas : Int32 #

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

[View source]
def desired_replicas : Int32 #

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

[View source]
def last_scale_time : Time? #

[View source]
def last_scale_time=(last_scale_time : Time?) #

[View source]
def observed_generation : Int32? #

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

[View source]