Container is optionnal

This commit is contained in:
mr 2024-10-01 09:15:26 +02:00
parent cdf513c2c4
commit f490dc3555

View File

@ -35,7 +35,7 @@ type ProcessingResource struct {
Parallel bool `bson:"parallel,omitempty" json:"parallel,omitempty"` // Parallel is a flag that indicates if the processing is parallel Parallel bool `bson:"parallel,omitempty" json:"parallel,omitempty"` // Parallel is a flag that indicates if the processing is parallel
ScalingModel uint `bson:"scaling_model,omitempty" json:"scaling_model,omitempty"` // ScalingModel is the scaling model ScalingModel uint `bson:"scaling_model,omitempty" json:"scaling_model,omitempty"` // ScalingModel is the scaling model
DiskIO string `bson:"disk_io,omitempty" json:"disk_io,omitempty"` // DiskIO is the disk IO DiskIO string `bson:"disk_io,omitempty" json:"disk_io,omitempty"` // DiskIO is the disk IO
Container Container `bson:"container,omitempty" json:"container,omitempty"` // Container is the container Container *Container `bson:"container,omitempty" json:"container,omitempty"` // Container is the container
Execute []Execute `bson:"execute,omitempty" json:"execute,omitempty"` // Execute is the execution Execute []Execute `bson:"execute,omitempty" json:"execute,omitempty"` // Execute is the execution
} }