class K8S::Api::Autoscaling::V2::ObjectMetricSource

Overview

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

Included Modules

Defined in:

versions/v1.23/api/autoscaling/v2/object_metric_source.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

[View source]

Instance Method Detail


[View source]
def described_object=(described_object : Api::Autoscaling::V2::CrossVersionObjectReference) #

[View source]

[View source]

[View source]

[View source]
def target=(target : Api::Autoscaling::V2::MetricTarget) #

[View source]