package kubecaml

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

Eviction evicts a pod from its node subject to certain policies and safety constraints. This is a subresource of Pod. A request to cause such an eviction is created by Pos_ting to .../pods/<pod name>/evictions.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?metadata:Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Object_meta.t -> ?kind:string -> ?delete_options: Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Delete_options.t -> ?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

Delete_options may be provided

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

Object_meta describes the pod that is being evicted.

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

Innovation. Community. Security.