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

Method GetVolume

internal/server/storage/pool_interface.go:63–63  ·  view source on GitHub ↗
(volumeType drivers.VolumeType, contentType drivers.ContentType, name string, config map[string]string)

Source from the content-addressed store, hash-verified

61 ApplyPatch(name string) error
62
63 GetVolume(volumeType drivers.VolumeType, contentType drivers.ContentType, name string, config map[string]string) drivers.Volume
64
65 // Instances.
66 CreateInstance(inst instance.Instance, op *operations.Operation) error

Callers 14

RefreshCustomVolumeMethod · 0.95
RefreshInstanceMethod · 0.65
addRootDriveConfigMethod · 0.65
migrateSendLiveMethod · 0.65
MigrateReceiveMethod · 0.65
DoStorageMethod · 0.65
patchBtrfsSubvolumeNamesFunction · 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