struct

Kubernetes::ContainerStateTerminated

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

ContainerStateTerminated is a terminated state of a container.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

container_id

Container's ID in the format '<type>://<container_id>'

Source
container_id=(container_id : String | Nil)

Container's ID in the format '<type>://<container_id>'

Source
exit_code

Exit status from the last termination of the container

Source
exit_code=(exit_code : Int32 | Nil)

Exit status from the last termination of the container

Source
finished_at

Time at which the container last terminated

Source
finished_at=(finished_at : Time | Nil)

Time at which the container last terminated

Source
message

Message regarding the last termination of the container

Source
message=(message : String | Nil)

Message regarding the last termination of the container

Source
reason

(brief) reason from the last termination of the container

Source
reason=(reason : String | Nil)

(brief) reason from the last termination of the container

Source
signal

Signal from the last termination of the container

Source
signal=(signal : Int32 | Nil)

Signal from the last termination of the container

Source
started_at

Time at which previous execution of the container started

Source
started_at=(started_at : Time | Nil)

Time at which previous execution of the container started

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source