MCPcopy
hub / github.com/lxc/incus / RefreshCustomVolume

Method RefreshCustomVolume

internal/server/storage/pool_interface.go:135–135  ·  view source on GitHub ↗
(projectName string, srcProjectName string, volName, desc string, config map[string]string, srcPoolName, srcVolName string, snapshots bool, excludeOlder bool, op *operations.Operation)

Source from the content-addressed store, hash-verified

133 UnmountCustomVolume(projectName string, volName string, op *operations.Operation) (bool, error)
134 ImportCustomVolume(projectName string, poolVol *backupConfig.Config, op *operations.Operation) (revert.Hook, error)
135 RefreshCustomVolume(projectName string, srcProjectName string, volName, desc string, config map[string]string, srcPoolName, srcVolName string, snapshots bool, excludeOlder bool, op *operations.Operation) error
136 GenerateCustomVolumeBackupConfig(projectName string, volName string, snapshots bool, op *operations.Operation) (*backupConfig.Config, error)
137 CreateCustomVolumeFromISO(projectName string, volName string, srcData io.ReadSeeker, size int64, op *operations.Operation) error
138

Callers 1

doCustomVolumeRefreshFunction · 0.65

Implementers 2

mockBackendinternal/server/storage/backend_mock.g
backendinternal/server/storage/backend.go

Calls

no outgoing calls

Tested by

no test coverage detected