package kubecaml

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

Persistent_volume_claim_spec describes the common attributes of storage devices and allows a Source for provider_specific attributes

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?volume_name:string -> ?volume_mode:string -> ?storage_class_name:string -> ?selector: Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Label_selector.t -> ?resources:Kubernetes.Definitions.Api.Core.V1.Resource_requirements.t -> ?access_modes:string list -> unit -> t
val access_modes : t -> string list option

Access_modes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1

Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources

A label query over volumes to consider for binding.

val storage_class_name : t -> string option

Name of the Storage_class required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1

val volume_mode : t -> string option

volume_mode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.

val volume_name : t -> string option

Volume_name is the binding reference to the Persistent_volume backing this claim.

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

Innovation. Community. Security.