package kubecaml

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

Container_status contains details for the current status of this container.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?state:Kubernetes.Definitions.Api.Core.V1.Container_state.t -> restart_count:int -> ready:bool -> name:string -> ?last_state:Kubernetes.Definitions.Api.Core.V1.Container_state.t -> image_id:string -> image:string -> ?container_id:string -> unit -> t
val container_id : t -> string option

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

val image : t -> string

The image the container is running. More info: https://kubernetes.io/docs/concepts/containers/images

val image_id : t -> string

Image_id of the container's image.

Details about the container's last termination condition.

val name : t -> string

This must be a Dns_label. Each container in a pod must have a unique name. Cannot be updated.

val ready : t -> bool

Specifies whether the container has passed its readiness probe.

val restart_count : t -> int

The number of times the container has been restarted, currently based on the number of dead containers that have not yet been removed. Note that this is calculated from dead containers. But those containers are subject to garbage collection. This value will get capped at 5 by Gc.

Details about the container's current condition.

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