class Pyrite::Api::Autoscaling::V2beta2::ExternalMetricStatus
Overview
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
Defined in:
versions/v1.14/api/autoscaling/v2beta2/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 : Api::Autoscaling::V2beta2::MetricValueStatus, metric : Api::Autoscaling::V2beta2::MetricIdentifier)
Instance Method Summary
- #current : Api::Autoscaling::V2beta2::MetricValueStatus
- #current=(current : Api::Autoscaling::V2beta2::MetricValueStatus)
- #metric : Api::Autoscaling::V2beta2::MetricIdentifier
- #metric=(metric : Api::Autoscaling::V2beta2::MetricIdentifier)
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 : Api::Autoscaling::V2beta2::MetricValueStatus, metric : Api::Autoscaling::V2beta2::MetricIdentifier)
#