package kubecaml

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

Persistent_volume_claim_volume_source references the user's Pvc in the same namespace. This volume finds the bound Pv and mounts that volume for the pod. A Persistent_volume_claim_volume_source is, essentially, a wrapper around another type of volume that is owned by someone else (the system).

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?read_only:bool -> claim_name:string -> unit -> t
val claim_name : t -> string

Claim_name is the name of a Persistent_volume_claim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims

val read_only : t -> bool option

Will force the Read_only setting in Volume_mounts. Default false.

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

Innovation. Community. Security.