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

No files matched your search

+17 -2
View File
@@ -299,6 +299,9 @@ type RecordCompute struct {
// List anti affinity rules
AntiAffinityRules ListRules `json:"antiAffinityRules"`
// Auto start when node restarted
AutoStart bool `json:"autoStart"`
// Architecture
Architecture string `json:"arch"`
@@ -425,6 +428,9 @@ type RecordCompute struct {
// Pinned or not
Pinned bool `json:"pinned"`
// PreferredCPU
PreferredCPU []int64 `json:"preferredCpu"`
// Number of RAM
RAM uint64 `json:"ram"`
@@ -476,14 +482,17 @@ type RecordCompute struct {
// Userdata
Userdata interface{} `json:"userdata"`
// vGPU list
VGPUs []ItemVGPU `json:"vgpus"`
// vGPU IDs
VGPUs []uint64 `json:"vgpus"`
// Virtual image ID
VirtualImageID uint64 `json:"virtualImageId"`
// Virtual image name
VirtualImageName string `json:"virtualImageName"`
// VNC password
VNCPassword string `json:"vncPasswd"`
}
// Information about libvirt settings
@@ -866,6 +875,9 @@ type ItemCompute struct {
// List anti affinity rules
AntiAffinityRules ListRules `json:"antiAffinityRules"`
// Auto start when node restarted
AutoStart bool `json:"autoStart"`
// Architecture
Architecture string `json:"arch"`
@@ -971,6 +983,9 @@ type ItemCompute struct {
// Pinned or not
Pinned bool `json:"pinned"`
// PreferredCPU
PreferredCPU []int64 `json:"preferredCpu"`
// Number of RAM
RAM uint64 `json:"ram"`