class K8S::Api::Autoscaling::V2beta2::ObjectMetricSource
- K8S::Api::Autoscaling::V2beta2::ObjectMetricSource
- Reference
- Object
Overview
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.18/api/autoscaling/v2beta2/object_metric_source.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference, metric : Api::Autoscaling::V2beta2::MetricIdentifier, target : Api::Autoscaling::V2beta2::MetricTarget)
Instance Method Summary
- #described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference
- #described_object=(described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference)
- #metric : Api::Autoscaling::V2beta2::MetricIdentifier
- #metric=(metric : Api::Autoscaling::V2beta2::MetricIdentifier)
- #target : Api::Autoscaling::V2beta2::MetricTarget
- #target=(target : Api::Autoscaling::V2beta2::MetricTarget)
Constructor Detail
def self.new(*, described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference, metric : Api::Autoscaling::V2beta2::MetricIdentifier, target : Api::Autoscaling::V2beta2::MetricTarget)
#
Instance Method Detail
def described_object=(described_object : Api::Autoscaling::V2beta2::CrossVersionObjectReference)
#