package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Container_state_terminated is a terminated state of a container.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?started_at:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Time.t -> ?signal:int -> ?reason:string -> ?message:string -> ?finished_at:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Time.t -> exit_code:int -> ?container_id:string -> unit -> t
val container_id : t -> string option

Container's Id in the format 'docker://<container_id>'

val exit_code : t -> int

Exit status from the last termination of the container

Time at which the container last terminated

val message : t -> string option

Message regarding the last termination of the container

val reason : t -> string option

(brief) reason from the last termination of the container

val signal : t -> int option

Signal from the last termination of the container

Time at which previous execution of the container started

module Object : Object.S with type value := t
OCaml

Innovation. Community. Security.