class Pyrite::Api::Autoscaling::V2beta2::MetricTarget

Overview

MetricTarget defines the target value, average value, or average utilization of a specific metric

Defined in:

versions/v1.14/api/autoscaling/v2beta2/metric_target.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) #

MetricTarget defines the target value, average value, or average utilization of a specific metric


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

MetricTarget defines the target value, average value, or average utilization of a specific metric


def self.new(*, average_utilization : Int32? = nil, average_value : Int32? = nil, type : String, value : Int32? = nil) #

Instance Method Detail

def average_utilization : Int32? #

def average_utilization=(average_utilization : Int32?) #

def average_value : Int32? #

def average_value=(average_value : Int32?) #

def type : String #

def type=(type : String) #

def value : Int32? #

def value=(value : Int32?) #