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
@@ -149,6 +149,10 @@ start:
}
func (j *PullJob) JobStatus(ctxt context.Context) (*JobStatus, error) {
return &JobStatus{}, nil
}
func (j *PullJob) Pruner(side PrunePolicySide, dryRun bool) (p Pruner, err error) {
p = Pruner{
time.Now(),