struct Kubernetes::ContainerStateTerminated

Overview

ContainerStateTerminated is a terminated state of a container.

Included Modules

Defined in:

generated/models/io_k8s_api_core_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

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

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def container_id : String | Nil #

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


def container_id=(container_id : String | Nil) #

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


def exit_code : Int32 | Nil #

Exit status from the last termination of the container


def exit_code=(exit_code : Int32 | Nil) #

Exit status from the last termination of the container


def finished_at : Time | Nil #

Time at which the container last terminated


def finished_at=(finished_at : Time | Nil) #

Time at which the container last terminated


def message : String | Nil #

Message regarding the last termination of the container


def message=(message : String | Nil) #

Message regarding the last termination of the container


def reason : String | Nil #

(brief) reason from the last termination of the container


def reason=(reason : String | Nil) #

(brief) reason from the last termination of the container


def signal : Int32 | Nil #

Signal from the last termination of the container


def signal=(signal : Int32 | Nil) #

Signal from the last termination of the container


def started_at : Time | Nil #

Time at which previous execution of the container started


def started_at=(started_at : Time | Nil) #

Time at which previous execution of the container started