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-06-08 20:49:50 +08:00
parent e8c6ea53e2
commit 6f01eef504
3 changed files with 122 additions and 47 deletions

View File

@@ -31,6 +31,7 @@ type Job struct {
type Task struct {
Name string `json:"name"`
Job string `json:"job_name"`
Image string `json:"image"`
Cmd string `json:"cmd"`
NumberCPU int `json:"cpu_number"`