class Pyrite::Api::Core::V1::ContainerStatus

Overview

ContainerStatus contains details for the current status of this container.

Defined in:

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

ContainerStatus contains details for the current status of this container.


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

ContainerStatus contains details for the current status of this container.


def self.new(*, container_id : String? = nil, image : String, image_id : String, last_state : Api::Core::V1::ContainerState? = nil, name : String, ready : Bool, restart_count : Int32, state : Api::Core::V1::ContainerState? = nil) #

Instance Method Detail

def container_id : String? #

def container_id=(container_id : String?) #

def image : String #

def image=(image : String) #

def image_id : String #

def image_id=(image_id : String) #

def last_state : Api::Core::V1::ContainerState? #

def last_state=(last_state : Api::Core::V1::ContainerState?) #

def name : String #

def name=(name : String) #

def ready : Bool #

def ready=(ready : Bool) #

def restart_count : Int32 #

def restart_count=(restart_count : Int32) #


def state=(state : Api::Core::V1::ContainerState?) #