InstanceMigration handles the migration logic for an instance.
| 24 | |
| 25 | // InstanceMigration handles the migration logic for an instance. |
| 26 | type InstanceMigration struct { |
| 27 | *Migration |
| 28 | |
| 29 | flagRsyncArgs string |
| 30 | instanceArgs api.InstancesPost |
| 31 | volumes []*VolumeMigration |
| 32 | } |
| 33 | |
| 34 | // newInstanceMigration returns a new InstanceMigration. |
| 35 | func newInstanceMigration(ctx context.Context, server incus.InstanceServer, asker ask.Asker, flafRsyncArgs string, migraionType MigrationType) Migrator { |
nothing calls this directly
no outgoing calls
no test coverage detected