package kubecaml

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

Job_condition describes current state of a job.

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 the condition was checked.

Last time the condition transit from one status to another.

val message : t -> string option

Human readable message indicating details about last transition.

val reason : t -> string option

(brief) reason for the condition's last transition.

val status : t -> string

Status of the condition, one of True, False, Unknown.

val type_ : t -> string

Type of job condition, Complete or Failed.

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

Innovation. Community. Security.