class Pyrite::Api::Autoscaling::V2beta1::ExternalMetricStatus

Overview

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

Defined in:

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

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


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

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


def self.new(*, current_average_value : Int32? = nil, current_value : Int32, metric_name : String, metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil) #

Instance Method Detail

def current_average_value : Int32? #

def current_average_value=(current_average_value : Int32?) #

def current_value : Int32 #

def current_value=(current_value : Int32) #

def metric_name : String #

def metric_name=(metric_name : String) #


def metric_selector=(metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector?) #