This commit is contained in:
asteam
2025-09-26 18:56:58 +03:00
parent f1ffb4c0fd
commit 48e2b0f2f9
931 changed files with 1444 additions and 1130 deletions

View File

@@ -624,6 +624,9 @@ type InfoCompute struct {
// Anti affinity rules
AntiAffinityRules ListRules `json:"antiAffinityRules"`
// Auto start when node restarted
AutoStart bool `json:"autoStart"`
// Architecture
Arch string `json:"arch"`
@@ -729,6 +732,9 @@ type InfoCompute struct {
// Pinned
Pinned bool `json:"pinned"`
// PreferredCPU
PreferredCPU []int64 `json:"preferredCpu"`
// Number of RAM
RAM uint64 `json:"ram"`
@@ -846,6 +852,9 @@ type RecordCompute struct {
// Anti affinity rules
AntiAffinityRules ListRules `json:"antiAffinityRules"`
// Auto start when node restarted
AutoStart bool `json:"autoStart"`
// Architecture
Arch string `json:"arch"`
@@ -975,6 +984,9 @@ type RecordCompute struct {
// Pinned
Pinned bool `json:"pinned"`
// PreferredCPU
PreferredCPU []int64 `json:"preferredCpu"`
// Number of RAM
RAM uint64 `json:"ram"`
@@ -1035,14 +1047,17 @@ type RecordCompute struct {
// Userdata
Userdata interface{} `json:"userdata"`
// List VGPUs
VGPUs []ItemVGPU `json:"vgpus"`
// List VGPU IDs
VGPUs []uint64 `json:"vgpus"`
// Virtual image ID
VirtualImageID uint64 `json:"virtualImageId"`
// VirtualImageName
VirtualImageName string `json:"virtualImageName"`
// VNC password
VNCPassword string `json:"vncPasswd"`
}
// Information about of disk IDs