class K8S::Api::Core::V1::ContainerStateTerminated

Overview

ContainerStateTerminated is a terminated state of a container.

Included Modules

Defined in:

versions/v1.23/api/core/v1/container_state_terminated.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
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) #

[View source]

Instance Method Detail

def container_id : String? #

[View source]
def container_id=(container_id : String?) #

[View source]
def exit_code : Int32 #

[View source]
def exit_code=(exit_code : Int32) #

[View source]
def finished_at : Time? #

[View source]
def finished_at=(finished_at : Time?) #

[View source]
def message : String? #

[View source]
def message=(message : String?) #

[View source]
def reason : String? #

[View source]
def reason=(reason : String?) #

[View source]
def signal : Int32? #

[View source]
def signal=(signal : Int32?) #

[View source]
def started_at : Time? #

[View source]
def started_at=(started_at : Time?) #

[View source]