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

bugfix, hostname

This commit is contained in:
2019-06-14 11:10:07 +08:00
parent 622040ecf3
commit ad1497bfbd
3 changed files with 10 additions and 14 deletions

View File

@@ -91,15 +91,16 @@ type MsgCreate struct {
}
type TaskStatus struct {
Id string `json:"id"`
Name string `json:"name"`
Node string `json:"node"`
Image string `json:"image"`
ImageDigest string `json:"image_digest"`
Command string `json:"command"`
CreatedAt string `json:"created_at"`
FinishedAt string `json:"finished_at"`
Status string `json:"status"`
Id string `json:"id"`
HostName string `json:"hostname"`
Node string `json:"node"`
Image string `json:"image"`
ImageDigest string `json:"image_digest"`
Command string `json:"command"`
CreatedAt string `json:"created_at"`
FinishedAt string `json:"finished_at"`
Status string `json:"status"`
State map[string]interface{} `json:"state"`
}
type JobStatus struct {