package kubecaml

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

Pod_condition contains details for the current condition of this pod.

type t
val to_yojson : t -> Yojson.Safe.t
val make : type_:string -> status:string -> ?reason:string -> ?message:string -> ?last_transition_time: Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Time.t -> ?last_probe_time:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Time.t -> unit -> t

Last time we probed the condition.

Last time the condition transitioned from one status to another.

val message : t -> string option

Human_readable message indicating details about last transition.

val reason : t -> string option

Unique, one_word, CamelCase reason for the condition's last transition.

val status : t -> string

Status is the status of the condition. Can be True, False, Unknown. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

val type_ : t -> string

Type is the type of the condition. Currently only Ready. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions

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

Innovation. Community. Security.