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-01 12:48:06 +08:00
parent e880c21e82
commit 72ba430f4d
3 changed files with 76 additions and 8 deletions

View File

@@ -111,6 +111,7 @@ type GPUStatus struct {
type NodeStatus struct {
ClientID string `json:"id"`
ClientHost string `json:"host"`
Rack int `json:"rack"`
Version float64 `json:"version"`
NumCPU int `json:"cpu_num"`
UtilCPU float64 `json:"cpu_load"`
@@ -130,6 +131,7 @@ type Job struct {
CreatedAt int `json:"created_at"`
UpdatedAt int `json:"updated_at"`
CreatedBy int `json:"created_by"`
Locality int `json:"created_by"`
Status State `json:"status"`
}