Versions in this module Expand all Collapse all v2 v2.4.0 Jul 9, 2021 Changes in this version type Config + ObserverSubDir string v2.2.0 Feb 9, 2021 Changes in this version + const LVM + const ZFS + type Cloner interface + CreateClone func(name, snapshotID string) error + DestroyClone func(name string) error + ListClonesNames func() ([]string, error) + type Config struct + CloneSubDir string + DataSubDir string + MountDir string + PreSnapshotSuffix string + SocketSubDir string + type FSManager interface + func NewManager(runner runners.Runner, config ManagerConfig) (FSManager, error) + type Manager struct + func NewPoolManager(cfg *Config, runner runners.Runner) *Manager + func (pm *Manager) Active() FSManager + func (pm *Manager) GetFSManager(name string) (FSManager, error) + func (pm *Manager) GetFSManagerList() []FSManager + func (pm *Manager) GetPoolToUpdate() *list.Element + func (pm *Manager) Reload(cfg Config) error + func (pm *Manager) ReloadPools() error + func (pm *Manager) SetActive(element *list.Element) + type ManagerConfig struct + Pool *resources.Pool + PreSnapshotSuffix string + type Pooler interface + Pool func() *resources.Pool + type Snapshotter interface + CleanupSnapshots func(retentionLimit int) ([]string, error) + CreateSnapshot func(poolSuffix, dataStateAt string) (snapshotName string, err error) + DestroySnapshot func(snapshotName string) (err error) + GetSnapshots func() ([]resources.Snapshot, error) + type StateReporter interface + GetDiskState func() (*resources.Disk, error) + GetSessionState func(name string) (*resources.SessionState, error)