class K8S::Api::Autoscaling::V2beta1::ObjectMetricStatus

Overview

ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

Included Modules

Defined in:

versions/v1.18/api/autoscaling/v2beta1/object_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, target : Api::Autoscaling::V2beta1::CrossVersionObjectReference, average_value : Int32 | String | Nil = nil, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil) #

[View source]

Instance Method Detail

def average_value : Int32 | String | Nil #

[View source]
def average_value=(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 selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #

[View source]

[View source]

[View source]