Documentation ¶
Index ¶
- type DFS
- func (_m *DFS) Backup(info dfs.BackupInfo, w io.Writer) error
- func (_m *DFS) BackupInfo(r io.Reader) (*dfs.BackupInfo, error)
- func (_m *DFS) Commit(ctrID string) (string, error)
- func (_m *DFS) Create(tenantID string) error
- func (_m *DFS) Delete(snapshotID string) error
- func (_m *DFS) Destroy(tenantID string) error
- func (_m *DFS) DfPath(path string, excludes []string) (uint64, error)
- func (_m *DFS) Download(image string, tenantID string, upgrade bool) (string, error)
- func (_m *DFS) EstimateImagePullSize(images []string) (uint64, error)
- func (_m *DFS) GetImageInfo(image string) (*dfs.ImageInfo, error)
- func (_m *DFS) Info(snapshotID string) (*dfs.SnapshotInfo, error)
- func (_m *DFS) List(tenantID string) ([]string, error)
- func (_m *DFS) Lock(opName string)
- func (_m *DFS) LockWithTimeout(opName string, timeout time.Duration) error
- func (_m *DFS) Override(newImage string, oldImage string) error
- func (_m *DFS) Restore(r io.Reader, version int) error
- func (_m *DFS) Rollback(snapshotID string) error
- func (_m *DFS) Snapshot(info dfs.SnapshotInfo, spaceFactor int) (string, error)
- func (_m *DFS) Tag(snapshotID string, tagName string) error
- func (_m *DFS) TagInfo(tenantID string, tagName string) (*dfs.SnapshotInfo, error)
- func (_m *DFS) Timeout() time.Duration
- func (_m *DFS) Unlock()
- func (_m *DFS) Untag(tenantID string, tagName string) (string, error)
- func (_m *DFS) UpgradeRegistry(svcs []service.ServiceDetails, tenantID string, registryHost string, ...) error
- func (_m *DFS) VerifyTenantMounts(tenantid string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DFS ¶
func (*DFS) BackupInfo ¶
BackupInfo provides a mock function with given fields: r
func (*DFS) Download ¶
Download provides a mock function with given fields: image, tenantID, upgrade
func (*DFS) EstimateImagePullSize ¶
func (*DFS) Info ¶
func (_m *DFS) Info(snapshotID string) (*dfs.SnapshotInfo, error)
Info provides a mock function with given fields: snapshotID
func (*DFS) LockWithTimeout ¶
LockWithTimeout provides a mock function with given fields: opName, timeout
func (*DFS) UpgradeRegistry ¶
func (_m *DFS) UpgradeRegistry(svcs []service.ServiceDetails, tenantID string, registryHost string, override bool) error
UpgradeRegistry provides a mock function with given fields: svcs, tenantID, registryHost, override
func (*DFS) VerifyTenantMounts ¶
Click to show internal directories.
Click to hide internal directories.