class K8S::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.

Included Modules

Defined in:

versions/v1.17/api/core/v1/container_state.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

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

[View source]

Instance Method Detail


[View source]
def running=(running : Api::Core::V1::ContainerStateRunning?) #

[View source]

[View source]
def terminated=(terminated : Api::Core::V1::ContainerStateTerminated?) #

[View source]

[View source]
def waiting=(waiting : Api::Core::V1::ContainerStateWaiting?) #

[View source]