package kubecaml

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

Priority_class defines mapping from a priority class name to the priority integer value. The value can be any valid integer.

type t
val to_yojson : t -> Yojson.Safe.t
val make : value:int -> ?metadata:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Object_meta.t -> ?kind:string -> ?global_default:bool -> ?description:string -> ?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 description : t -> string option

description is an arbitrary string that usually provides guidelines on when this priority class should be used.

val global_default : t -> bool option

global_default specifies whether this Priority_class should be considered as the default priority for pods that do not have any priority class. Only one Priority_class can be marked as `global_default`. However, if more than one Priority_classes exists with their `global_default` field set to true, the smallest value of such global default Priority_classes will be used as the default priority.

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

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

val value : t -> int

The value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.

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

Innovation. Community. Security.