1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00

support stop

This commit is contained in:
2019-04-18 17:25:37 +08:00
parent 1504c71fb4
commit 549e559a73
5 changed files with 43 additions and 9 deletions

View File

@@ -21,6 +21,11 @@ type MsgSubmit struct {
Error string `json:"error"`
}
type MsgStop struct {
Code int `json:"code"`
Error string `json:"error"`
}
type MsgSummary struct {
Code int `json:"code"`
Error string `json:"error"`
@@ -93,7 +98,7 @@ type GPUStatus struct {
}
type NodeStatus struct {
ClientID int `json:"code"`
ClientID string `json:"id"`
ClientHost string `json:"host"`
Status []GPUStatus `json:"status"`
}