class Pyrite::Api::Autoscaling::V1::ScaleSpec

Overview

ScaleSpec describes the attributes of a scale subresource.

Defined in:

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

ScaleSpec describes the attributes of a scale subresource.


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

ScaleSpec describes the attributes of a scale subresource.


def self.new(*, replicas : Int32? = nil) #

Instance Method Detail

def replicas : Int32? #

def replicas=(replicas : Int32?) #