package kubecaml

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

Maps a string key to a path within a volume.

type t
val to_yojson : t -> Yojson.Safe.t
val make : path:string -> ?mode:int -> key:string -> unit -> t
val key : t -> string

The key to project.

val mode : t -> int option

Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume default_mode will be used. This might be in conflict with other options that affect the file mode, like fs_group, and the result can be other mode bits set.

val path : t -> string

The relative path of the file to map the key to. May not be an absolute path. May not contain the path element '..'. May not start with the string '..'.

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