package kubecaml

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

Job_status represents the current state of a Job.

type t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val make : ?succeeded:int -> ?start_time:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Time.t -> ?failed:int -> ?conditions:Kubernetes.Definitions.Api.Batch.V1.Job_condition.t list -> ?completion_time:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Time.t -> ?active:int -> unit -> t
val active : t -> int option

The number of actively running pods.

Represents time when the job was completed. It is not guaranteed to be set in happens_before order across separate operations. It is represented in Rfc3339 form and is in Utc.

The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/

val failed : t -> int option

The number of pods which reached phase Failed.

Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens_before order across separate operations. It is represented in Rfc3339 form and is in Utc.

val succeeded : t -> int option

The number of pods which reached phase Succeeded.

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

Innovation. Community. Security.