daemon: DaemonStatus + JobStatus + dummy implementation

refs #10
This commit is contained in:
Christian Schwarz
2017-12-24 15:34:41 +01:00
parent 2c87b15e83
commit 8c7e373049
5 changed files with 56 additions and 2 deletions
+4
View File
@@ -32,6 +32,10 @@ func (j *ControlJob) JobName() string {
return j.Name
}
func (j *ControlJob) JobStatus(ctx context.Context) (*JobStatus, error) {
return &JobStatus{}, nil
}
const (
ControlJobEndpointProfile string = "/debug/pprof/profile"
ControlJobEndpointVersion string = "/version"