package kubecaml

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

Status_details is a set of additional properties that May be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?uid:string -> ?retry_after_seconds:int -> ?name:string -> ?kind:string -> ?group:string -> ?causes: Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Status_cause.t list -> unit -> t

The Causes array includes more details associated with the Status_reason failure. Not all Status_reasons may provide detailed causes.

val group : t -> string option

The group attribute of the resource associated with the status Status_reason.

val kind : t -> string option

The kind attribute of the resource associated with the status Status_reason. On some operations may differ from the requested resource Kind. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

val name : t -> string option

The name attribute of the resource associated with the status Status_reason (when there is a single name which can be described).

val retry_after_seconds : t -> int option

If specified, the time in seconds before the operation should be retried. Some errors may indicate the client must take an alternate action - for those errors this field may indicate how long to wait before taking the alternate action.

val uid : t -> string option

Uid of the resource. (when there is a single resource which can be described). More info: http://kubernetes.io/docs/user-guide/identifiers#uids

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

Innovation. Community. Security.