class K8S::Api::Core::V1::ContainerStateTerminated
- K8S::Api::Core::V1::ContainerStateTerminated
- Reference
- Object
Overview
ContainerStateTerminated is a terminated state of a container.
Included Modules
- JSON::Serializable
- JSON::Serializable::Unmapped
- YAML::Serializable
- YAML::Serializable::Unmapped
Defined in:
versions/v1.11/api/core/v1/container_state_terminated.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, exit_code : Int32, container_id : String? = nil, finished_at : Time? = nil, message : String? = nil, reason : String? = nil, signal : Int32? = nil, started_at : Time? = nil)
Instance Method Summary
- #container_id : String?
- #container_id=(container_id : String?)
- #exit_code : Int32
- #exit_code=(exit_code : Int32)
- #finished_at : Time?
- #finished_at=(finished_at : Time?)
- #message : String?
- #message=(message : String?)
- #reason : String?
- #reason=(reason : String?)
- #signal : Int32?
- #signal=(signal : Int32?)
- #started_at : Time?
- #started_at=(started_at : Time?)
Constructor Detail
def self.new(*, exit_code : Int32, container_id : String? = nil, finished_at : Time? = nil, message : String? = nil, reason : String? = nil, signal : Int32? = nil, started_at : Time? = nil)
#