package kubecaml

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

Status is a return value for calls that don't return other objects.

type t
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val make : ?status:string -> ?reason:string -> ?metadata:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.List_meta.t -> ?message:string -> ?kind:string -> ?details: Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Status_details.t -> ?code:int -> ?api_version:string -> unit -> t
val api_version : t -> string option

Api_version defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

val code : t -> int option

Suggested Http return code for this status, 0 if not set.

Extended data associated with the reason. Each reason may define its own extended details. This field is optional and the data returned is not guaranteed to conform to any schema except that defined by the reason type.

val kind : t -> string option

Kind is a string value representing the Rest resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In Camel_case. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

val message : t -> string option

A human_readable description of the status of this operation.

Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

val reason : t -> string option

A machine_readable description of why this operation is in the "failure" status. If this value is empty there is no information available. A Reason clarifies an Http status code but does not override it.

val status : t -> string option

Status of the operation. One of: "success" or "failure". More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

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

Innovation. Community. Security.