class Pyrite::Api::Core::V1::ReplicationControllerSpec

Overview

ReplicationControllerSpec is the specification of a replication controller.

Defined in:

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

ReplicationControllerSpec is the specification of a replication controller.


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

ReplicationControllerSpec is the specification of a replication controller.


def self.new(*, min_ready_seconds : Int32? = nil, replicas : Int32? = nil, selector : Hash(String, String)? = nil, template : Api::Core::V1::PodTemplateSpec? = nil) #

Instance Method Detail

def min_ready_seconds : Int32? #

def min_ready_seconds=(min_ready_seconds : Int32?) #

def replicas : Int32? #

def replicas=(replicas : Int32?) #

def selector : Hash(String, String)? #

def selector=(selector : Hash(String, String)?) #


def template=(template : Api::Core::V1::PodTemplateSpec?) #