package kubecaml

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

Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support Se_linux relabeling.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?revision:string -> repository:string -> ?directory:string -> unit -> t
val directory : t -> string option

Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.

val repository : t -> string

Repository Url

val revision : t -> string option

Commit hash for the specified revision.

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