fix: cpuset
This commit is contained in:
24
local/model/system.go
Normal file
24
local/model/system.go
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user