diff --git a/models/resources/processing/processing.go b/models/resources/processing/processing.go index d315767..a70aa37 100644 --- a/models/resources/processing/processing.go +++ b/models/resources/processing/processing.go @@ -29,6 +29,7 @@ type Expose struct { */ type ProcessingResource struct { resource_model.AbstractResource + IsService bool `json:"is_service,omitempty" bson:"is_service,omitempty"` // IsService is a flag that indicates if the processing is a service CPUs []*compute.CPU `bson:"cpus,omitempty" json:"cp_us,omitempty"` // CPUs is the list of CPUs GPUs []*compute.GPU `bson:"gpus,omitempty" json:"gp_us,omitempty"` // GPUs is the list of GPUs RAM *compute.RAM `bson:"ram,omitempty" json:"ram,omitempty"` // RAM is the RAM