class K8S::Api::Autoscaling::V2::MetricSpec

Overview

MetricSpec specifies how to scale based on a single metric (only #type and one other matching field should be set at once).

Included Modules

Defined in:

versions/v1.23/api/autoscaling/v2/metric_spec.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 container_resource=(container_resource : Api::Autoscaling::V2::ContainerResourceMetricSource?) #

[View source]

[View source]
def external=(external : Api::Autoscaling::V2::ExternalMetricSource?) #

[View source]

[View source]

[View source]

[View source]

[View source]

[View source]
def resource=(resource : Api::Autoscaling::V2::ResourceMetricSource?) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]