Electron now launches a series of benchmarks and then shuts down when everything has been sucessfully scheduled

This commit is contained in:
Renan DelValle 2016-09-17 18:55:35 -04:00
parent 6de14f2e23
commit 6e2a627038
3 changed files with 32 additions and 26 deletions

12
task.go
View file

@ -7,12 +7,12 @@ import (
)
type Task struct {
CPU float64 `json: "cpu"`
RAM float64 `json: "ram"`
Watts float64 `json: "watts"`
Image string `json: "image"`
CMD string `json: "cmd"`
Instances int `default 1, json: "inst"`
CPU float64 `json:"cpu"`
RAM float64 `json:"ram"`
Watts float64 `json:"watts"`
Image string `json:"image"`
CMD string `json:"cmd"`
Instances *int `json:"inst"`
}
func TasksFromJSON(uri string) ([]Task, error) {