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

Method CreateCustomVolumeFromCopy

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

Source from the content-addressed store, hash-verified

123 // Custom volumes.
124 CreateCustomVolume(projectName string, volName string, desc string, config map[string]string, contentType drivers.ContentType, op *operations.Operation) error
125 CreateCustomVolumeFromCopy(projectName string, srcProjectName string, volName, desc string, config map[string]string, srcPoolName, srcVolName string, snapshots bool, op *operations.Operation) error
126 UpdateCustomVolume(projectName string, volName string, newDesc string, newConfig map[string]string, op *operations.Operation) error
127 RenameCustomVolume(projectName string, volName string, newVolName string, op *operations.Operation) error
128 DeleteCustomVolume(projectName string, volName string, op *operations.Operation) error

Callers 3

doVolumeCreateOrCopyFunction · 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