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.crConstructors
-
.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
-
.new(pull : JSON::PullParser)
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
- .new(*, current_average_value : Int32? = nil, current_value : Int32, metric_name : String, metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil)
Instance Method Summary
- #current_average_value : Int32?
- #current_average_value=(current_average_value : Int32?)
- #current_value : Int32
- #current_value=(current_value : Int32)
- #metric_name : String
- #metric_name=(metric_name : String)
- #metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #metric_selector=(metric_selector : Apimachinery::Apis::Meta::V1::LabelSelector?)
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)
#