fix: cpuset

This commit is contained in:
2026-03-31 18:33:49 +02:00
parent 1f899cc5e9
commit b73f51faa4
7 changed files with 211 additions and 24 deletions

24
local/model/system.go Normal file
View File

@@ -0,0 +1,24 @@
package model
type MigrateImageRequest struct {
StopRunning bool `json:"stopRunning"`
}
type ServerMigrationEntry struct {
ID string `json:"id"`
Name string `json:"name"`
WasRunning bool `json:"wasRunning"`
}
type ServerMigrationError struct {
ID string `json:"id"`
Name string `json:"name"`
Error string `json:"error"`
}
type MigrationResult struct {
Image string `json:"image"`
Migrated []ServerMigrationEntry `json:"migrated"`
Skipped []ServerMigrationEntry `json:"skipped"`
Failed []ServerMigrationError `json:"failed"`
}