class K8S::Api::Autoscaling::V2beta1::ExternalMetricStatus

Overview

ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.

Included Modules

Defined in:

versions/v1.20/api/autoscaling/v2beta1/external_metric_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_value : Int32 | String, metric_name : String, current_average_value : Int32 | String | Nil = nil, metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil) #

[View source]

Instance Method Detail

def current_average_value : Int32 | String | Nil #

[View source]
def current_average_value=(current_average_value : Int32 | String | Nil) #

[View source]
def current_value : Int32 | String #

[View source]
def current_value=(current_value : Int32 | String) #

[View source]
def metric_name : String #

[View source]
def metric_name=(metric_name : String) #

[View source]

[View source]
def metric_selector=(metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #

[View source]