class Pyrite::Api::Autoscaling::V2beta2::HorizontalPodAutoscalerStatus

Overview

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.

Defined in:

versions/v1.14/api/autoscaling/v2beta2/horizontal_pod_autoscaler_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) #

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.


def self.new(pull : JSON::PullParser) #

HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.


def self.new(*, conditions : Array, current_metrics : Array? = nil, current_replicas : Int32, desired_replicas : Int32, last_scale_time : Time? = nil, observed_generation : Int32? = nil) #

Instance Method Detail


def conditions=(conditions : Array(Api::Autoscaling::V2beta2::HorizontalPodAutoscalerCondition)) #

def current_metrics : Array(Api::Autoscaling::V2beta2::MetricStatus)? #

def current_metrics=(current_metrics : Array(Api::Autoscaling::V2beta2::MetricStatus)?) #

def current_replicas : Int32 #

def current_replicas=(current_replicas : Int32) #

def desired_replicas : Int32 #

def desired_replicas=(desired_replicas : Int32) #

def last_scale_time : Time? #

def last_scale_time=(last_scale_time : Time?) #

def observed_generation : Int32? #

def observed_generation=(observed_generation : Int32?) #