class K8S::Api::Autoscaling::V2beta1::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.21/api/autoscaling/v2beta1/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::V2beta1::ContainerResourceMetricSource?) #

[View source]

[View source]

[View source]

[View source]

[View source]

[View source]

[View source]

[View source]

[View source]
def type : String #

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

[View source]