package kubecaml

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

Represents an Nfs mount that lasts the lifetime of a pod. Nfs volumes do not support ownership management or Se_linux relabeling.

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

Path that is exported by the Nfs server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

val read_only : t -> bool option

Read_only here will force the Nfs export to be mounted with read_only permissions. Defaults to false. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

val server : t -> string

Server is the hostname or Ip address of the Nfs server. More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs

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