1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-16 00:26:43 +00:00
This commit is contained in:
2020-05-24 21:08:07 +08:00
parent 0705c0630d
commit b63f1ba609
4 changed files with 126 additions and 0 deletions

13
src/group_models.go Normal file
View 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"`
}