daemon: Job types as dedicated type

refs #67
This commit is contained in:
Christian Schwarz
2018-04-05 22:22:55 +02:00
parent 0895e02844
commit aa3865d0a3
6 changed files with 44 additions and 5 deletions
+2
View File
@@ -31,6 +31,8 @@ func (j *ControlJob) JobName() string {
return j.Name
}
func (j *ControlJob) JobType() JobType { return JobTypeControl }
func (j *ControlJob) JobStatus(ctx context.Context) (*JobStatus, error) {
return &JobStatus{Tasks: nil}, nil
}