package kubecaml

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

Owner_reference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.

type t
val to_yojson : t -> Yojson.Safe.t
val make : uid:string -> name:string -> kind:string -> ?controller:bool -> ?block_owner_deletion:bool -> api_version:string -> unit -> t
val api_version : t -> string

Api version of the referent.

val block_owner_deletion : t -> bool option

If true, And if the owner has the "foreground_deletion" finalizer, then the owner cannot be deleted from the key_value store until this reference is removed. Defaults to false. To set this field, a user needs "delete" permission of the owner, otherwise 422 (unprocessable Entity) will be returned.

val controller : t -> bool option

If true, this reference points to the managing controller.

val kind : t -> string

Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

val name : t -> string

Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names

val uid : t -> string

Uid of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids

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

Innovation. Community. Security.