mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-16 00:26:43 +00:00
update
This commit is contained in:
19
src/job_status.go
Normal file
19
src/job_status.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package main
|
||||
|
||||
type JobStatus struct {
|
||||
Name string
|
||||
tasks map[string]TaskStatus
|
||||
}
|
||||
|
||||
type TaskStatus struct {
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user