add retry as a status of a job

This commit is contained in:
Tan Jiang 2016-07-03 15:47:40 +08:00
parent 59559e9961
commit 3803029f33

View File

@ -35,6 +35,8 @@ const (
JobFinished string = "finished"
//JobCanceled ...
JobCanceled string = "canceled"
//JobRetrying indicate the job needs to be retried, it will be scheduled to the end of job queue by statemachine after an interval.
JobRetrying string = "retrying"
//JobContinue is the status returned by statehandler to tell statemachine to move to next possible state based on trasition table.
JobContinue string = "_continue"
//RepOpTransfer represents the operation of a job to transfer repository to a remote registry/harbor instance.