mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-16 00:26:43 +00:00
update
This commit is contained in:
13
src/group_models.go
Normal file
13
src/group_models.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package main
|
||||
|
||||
type Group struct {
|
||||
Name string `json:"name"`
|
||||
Weight int `json:"weight"`
|
||||
Reserved bool `json:"reserved"`
|
||||
NumGPU int `json:"quota_gpu"`
|
||||
MemoryGPU int `json:"quota_gpu_mem"`
|
||||
CPU int `json:"quota_cpu"`
|
||||
Memory int `json:"quota_mem"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user