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

Interface Migrator

cmd/incus-migrate/main_migrate.go:33–37  ·  view source on GitHub ↗

Migrator defines the methods required to perform a migration.

Source from the content-addressed store, hash-verified

31
32// Migrator defines the methods required to perform a migration.
33type Migrator interface {
34 gatherInfo() error
35 migrate() error
36 renderObject() error
37}
38
39// Migration is a base representation of a migration, which can be extended by more specific structs.
40type Migration struct {

Callers 7

runMethod · 0.95
askDiskMethod · 0.65
runMethod · 0.95
migrateMethod · 0.65
migrateMethod · 0.65
runMethod · 0.95
renderObjectMethod · 0.65

Implementers 3

OVAMigrationcmd/incus-migrate/migrate_ova.go
VolumeMigrationcmd/incus-migrate/migrate_volume.go
InstanceMigrationcmd/incus-migrate/migrate_instance.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…