class K8S::Api::Core::V1::ContainerStatus

Overview

ContainerStatus contains details for the current status of this container.

Included Modules

Defined in:

versions/v1.23/api/core/v1/container_status.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(*, image : String, image_id : String, name : String, ready : Bool, restart_count : Int32, container_id : String? = nil, last_state : Api::Core::V1::ContainerState? = nil, started : Bool? = nil, state : Api::Core::V1::ContainerState? = nil) #

[View source]

Instance Method Detail

def container_id : String? #

[View source]
def container_id=(container_id : String?) #

[View source]
def image : String #

[View source]
def image=(image : String) #

[View source]
def image_id : String #

[View source]
def image_id=(image_id : String) #

[View source]
def last_state : Api::Core::V1::ContainerState? #

[View source]
def last_state=(last_state : Api::Core::V1::ContainerState?) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def ready : Bool #

[View source]
def ready=(ready : Bool) #

[View source]
def restart_count : Int32 #

[View source]
def restart_count=(restart_count : Int32) #

[View source]
def started : Bool? #

[View source]
def started=(started : Bool?) #

[View source]

[View source]
def state=(state : Api::Core::V1::ContainerState?) #

[View source]