class K8S::Api::Autoscaling::V2beta2::MetricIdentifier
- K8S::Api::Autoscaling::V2beta2::MetricIdentifier
- Reference
- Object
Overview
MetricIdentifier defines the name and optionally selector for a metric
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/autoscaling/v2beta2/metric_identifier.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, name : String, selector : Apimachinery::Apis::Meta::V1::LabelSelector? = nil)
Instance Method Summary
- #name : String
- #name=(name : String)
- #selector : Apimachinery::Apis::Meta::V1::LabelSelector?
- #selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector?)