Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // valid btrfs data & metadata profiles Profiles = map[string]struct{}{ "raid0": struct{}{}, "raid1": struct{}{}, "raid5": struct{}{}, "raid6": struct{}{}, "raid10": struct{}{}, "dup": struct{}{}, "single": struct{}{}, "": struct{}{}, } )
Functions ¶
This section is empty.
Types ¶
type CreateArgument ¶
type CreateArgument struct { Label string `json:"label"` Metadata string `json:"metadata"` Data string `json:"data"` Devices []string `json:"devices"` Overwrite bool `json:"overwrite"` }
func (CreateArgument) Validate ¶
func (arg CreateArgument) Validate() error
type DeviceAddArgument ¶
type DeviceAddArgument struct { InfoArgument Devices []string `json:"devices"` }
type InfoArgument ¶
type InfoArgument struct {
Mountpoint string `json:"mountpoint"`
}
type SnapshotArgument ¶
type SubvolArgument ¶
type SubvolArgument struct {
Path string `json:"path"`
}
type SubvolQuotaArgument ¶
type SubvolQuotaArgument struct { SubvolArgument Limit string `json:"limit"` }
Click to show internal directories.
Click to hide internal directories.