frontend: only pass runner to MakeFrontend, add Runner.GetSubmitQueue()
This commit is contained in:
parent
fecbf8b3e2
commit
40b2f11543
3 changed files with 9 additions and 2 deletions
|
|
@ -28,6 +28,11 @@ func (r *Runner) GetResults() (*time.Time, []*Result) {
|
|||
return r.currentlyRunning, r.results
|
||||
}
|
||||
|
||||
// GetSubmitQueue returns the submit queue object, to be consumed by the frontend
|
||||
func (r *Runner) GetSubmitQueue() (*SubmitQueue) {
|
||||
return r.SubmitQueue
|
||||
}
|
||||
|
||||
// Trigger starts a new batch job
|
||||
// TODO: make sure only one batch job is started at the same time
|
||||
// if a batch job is already started, ignore the newest request
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue