Documentation ¶
Index ¶
Constants ¶
View Source
const (
BtrfsVolNameMax = 255
)
Variables ¶
This section is empty.
Functions ¶
func RegisterAPI ¶
func RegisterAPI(apiType ApiType, cmd Command, factory CommandFactory)
Types ¶
type BtrfsError ¶
All Public API Methods should return BtrfsError
func (*BtrfsError) Error ¶
func (e *BtrfsError) Error() string
type CommandFactory ¶
type CommandFactory func() interface{}
type SubvolCreate ¶
type SubvolCreate interface { Executor QuotaGroups(qgroups ...string) SubvolCreate Destination(dest string) SubvolCreate }
type SubvolDelete ¶
type SubvolDelete interface { Executor Destination(dest string) SubvolDelete }
type SubvolFindNew ¶
type SubvolFindNew interface { Executor Destination(dest string) SubvolFindNew LastGen(uint64) SubvolFindNew }
type SubvolInfo ¶
type SubvolList ¶
type SubvolList interface { Path(path string) SubvolList FilterGeneration(filter string) SubvolList FilterOriginGeneration(filter string) SubvolList Sort(order string) SubvolList Execute() ([]SubvolInfo, error) }
type SubvolSnapshot ¶
type SubvolSnapshot interface { Executor QuotaGroups(qgroups ...string) SubvolSnapshot ReadOnly() SubvolSnapshot Source(src string) SubvolSnapshot Destination(dest string) SubvolSnapshot }
type Subvolume ¶
type Subvolume interface { Create() SubvolCreate Snapshot() SubvolSnapshot Delete() SubvolDelete List() SubvolList }
Click to show internal directories.
Click to hide internal directories.