package obuilder
Module Obuilder.Store_specSource
Configuration information to set up a store.
Source
type t = [ | `Btrfs of string| `Zfs of string| `Rsync of string * Rsync_store.mode| `Xfs of string| `Docker of string
]Source
val pp :
Format.formatter ->
[< `Btrfs of string
| `Docker of string
| `Rsync of string
| `Xfs of string
| `Zfs of string ] ->
unitSource
val to_store :
[< `Btrfs of string
| `Docker of string
| `Rsync of string * Rsync_store.mode
| `Xfs of string
| `Zfs of string ] ->
[> `Docker | `Native ] * store Lwt.tSource
val store_t :
[ `Btrfs of string
| `Docker of string
| `Rsync of string
| `Xfs of string
| `Zfs of string ]
Cmdliner.Arg.convSource
val store :
?docs:??? ->
string list ->
[ `Btrfs of string
| `Docker of string
| `Rsync of string
| `Xfs of string
| `Zfs of string ]
option
Cmdliner.Arg.tSource
val of_t :
[> `Btrfs of 'a | `Docker of 'b | `Rsync of 'c | `Xfs of 'd | `Zfs of 'e ]
option ->
'f option ->
[> `Btrfs of 'a
| `Docker of 'b
| `Rsync of 'c * 'f
| `Xfs of 'd
| `Zfs of 'e ]Transform a store and rsync-mode into a validated combination.
For example an rsync store must supply an rsync-mode.
Source
val v :
[> `Btrfs of string
| `Docker of string
| `Rsync of string * Rsync_store.mode
| `Xfs of string
| `Zfs of string ]
Cmdliner.Term.tParse cli arguments for t
Parse cli arguments for t and initialise a store.