package kube

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

Module Kube_crd.SchemaSource

Sourcetype t
Sourceval string : ?format:string -> ?enum:string list -> ?min_length:int -> ?max_length:int -> ?pattern:string -> unit -> t
Sourceval integer : ?format:[ `Int32 | `Int64 ] -> ?minimum:int -> ?maximum:int -> unit -> t
Sourceval number : ?format:[ `Float | `Double ] -> unit -> t
Sourceval boolean : unit -> t
Sourceval array : ?min_items:int -> ?max_items:int -> ?unique_items:bool -> t -> t
Sourceval object_ : ?required:string list -> ?additional_properties:t -> ?preserve_unknown_fields:bool -> (string * t) list -> t
Sourceval map : t -> t
Sourceval one_of : t list -> t
Sourceval int_or_string : unit -> t
Sourceval preserve_unknown : unit -> t
Sourceval raw : Yojson.Safe.t -> t

Escape hatch for OpenAPI extensions not yet represented by this module.

Sourceval describe : string -> t -> t
Sourceval with_default : Yojson.Safe.t -> t -> t
Sourceval nullable : t -> t
Sourceval to_json : t -> Yojson.Safe.t
Sourceval validate : t -> (unit, string list) result