class Pyrite::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).

Defined in:

versions/v1.14/api/autoscaling/v2beta1/metric_spec.cr

Constructors

Instance Method Summary

Constructor methods inherited from class Pyrite::Kubernetes::Spec

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
new(pull : JSON::PullParser)
new

Constructor Detail

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

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


def self.new(pull : JSON::PullParser) #

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



Instance Method Detail









def type : String #

def type=(type : String) #