class K8S::Api::Core::V1::ContainerStatus
- K8S::Api::Core::V1::ContainerStatus
- Reference
- Object
Overview
ContainerStatus contains details for the current status of this container.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.20/api/core/v1/container_status.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
- #container_id : String?
- #container_id=(container_id : String?)
- #image : String
- #image=(image : String)
- #image_id : String
- #image_id=(image_id : String)
- #last_state : Api::Core::V1::ContainerState?
- #last_state=(last_state : Api::Core::V1::ContainerState?)
- #name : String
- #name=(name : String)
- #ready : Bool
- #ready=(ready : Bool)
- #restart_count : Int32
- #restart_count=(restart_count : Int32)
- #started : Bool?
- #started=(started : Bool?)
- #state : Api::Core::V1::ContainerState?
- #state=(state : Api::Core::V1::ContainerState?)
Constructor Detail
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)
#