package kubecaml

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

Volume_mount describes a mounting of a Volume within a container.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?sub_path:string -> ?read_only:bool -> name:string -> ?mount_propagation:string -> mount_path:string -> unit -> t
val mount_path : t -> string

Path within the container at which the volume should be mounted. Must not contain ':'.

val mount_propagation : t -> string option

mount_propagation determines how mounts are propagated from the host to container and the other way around. When not set, Mount_propagation_host_to_container is used. This field is beta in 1.10.

val name : t -> string

This must match the Name of a Volume.

val read_only : t -> bool option

Mounted read_only if true, read_write otherwise (false or unspecified). Defaults to false.

val sub_path : t -> string option

Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).

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