package kubecaml

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

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

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

Endpoints_name is the endpoint name that details Glusterfs topology. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod

val path : t -> string

Path is the Glusterfs volume path. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod

val read_only : t -> bool option

Read_only here will force the Glusterfs volume to be mounted with read_only permissions. Defaults to false. More info: https://releases.k8s.io/HEAD/examples/volumes/glusterfs/README.md#create-a-pod

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