From 8f2adb76e41c328756a470cf905368cc4cdf462e Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 17 Jun 2025 15:06:33 +0200 Subject: [PATCH] add draft compute units --- models/resources/compute.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/models/resources/compute.go b/models/resources/compute.go index c1f4c8e..70ae929 100755 --- a/models/resources/compute.go +++ b/models/resources/compute.go @@ -63,6 +63,10 @@ type ComputeResourceInstance struct { type ComputeResourcePartnership struct { ResourcePartnerShip[*ComputeResourcePricingProfile] + MinGaranteedCPUsCores map[string]int `json:"garanteed_cpus,omitempty" bson:"garanteed_cpus,omitempty"` + MinGaranteedGPUsMemoryGB map[string]float64 `json:"garanteed_gpus,omitempty" bson:"garanteed_gpus,omitempty"` + MinGaranteedRAMSize float64 `json:"garanteed_ram,omitempty" bson:"garanteed_ram,omitempty"` + MaxAllowedCPUsCores map[string]int `json:"allowed_cpus,omitempty" bson:"allowed_cpus,omitempty"` MaxAllowedGPUsMemoryGB map[string]float64 `json:"allowed_gpus,omitempty" bson:"allowed_gpus,omitempty"` MaxAllowedRAMSize float64 `json:"allowed_ram,omitempty" bson:"allowed_ram,omitempty"`