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

Method MigrationTypes

internal/server/storage/pool_interface.go:147–147  ·  view source on GitHub ↗

Custom volume migration.

(contentType drivers.ContentType, refresh bool, copySnapshots bool, clusterMove bool, storageMove bool)

Source from the content-addressed store, hash-verified

145
146 // Custom volume migration.
147 MigrationTypes(contentType drivers.ContentType, refresh bool, copySnapshots bool, clusterMove bool, storageMove bool) []migration.Type
148 CreateCustomVolumeFromMigration(projectName string, conn io.ReadWriteCloser, args migration.VolumeTargetArgs, op *operations.Operation) error
149 MigrateCustomVolume(projectName string, conn io.ReadWriteCloser, args *migration.VolumeSourceArgs, op *operations.Operation) error
150

Callers 13

RefreshCustomVolumeMethod · 0.95
MigrationTypesMethod · 0.65
RefreshInstanceMethod · 0.65
MigrateSendMethod · 0.65
MigrateReceiveMethod · 0.65
MigrateSendMethod · 0.65
MigrateReceiveMethod · 0.65
DoStorageMethod · 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