package kubecaml

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

Initializer describes the name and the failure policy of an initializer, and what resources it applies to.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?rules:Kubernetes.Definitions.Api.Admissionregistration.V1alpha1.Rule.t list -> name:string -> unit -> t
val name : t -> string

Name is the identifier of the initializer. It will be added to the object that needs to be initialized. Name should be fully qualified, e.g., alwayspullimages.kubernetes.io, where "alwayspullimages" is the name of the webhook, and kubernetes.io is the name of the organization. Required

Rules describes what resources/subresources the initializer cares about. The initializer cares about an operation if it matches _any_ Rule. Rule.resources must not include subresources.

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

Innovation. Community. Security.