class Pyrite::Api::Core::V1::ContainerState

Overview

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.

Defined in:

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

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.


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

ContainerState holds a possible state of container. Only one of its members may be specified. If none of them is specified, the default one is ContainerStateWaiting.


def self.new(*, running : Api::Core::V1::ContainerStateRunning? = nil, terminated : Api::Core::V1::ContainerStateTerminated? = nil, waiting : Api::Core::V1::ContainerStateWaiting? = nil) #

Instance Method Detail


def running=(running : Api::Core::V1::ContainerStateRunning?) #


def terminated=(terminated : Api::Core::V1::ContainerStateTerminated?) #


def waiting=(waiting : Api::Core::V1::ContainerStateWaiting?) #