IsComplete returns true when the job has completed successfully.
()
| 53 | |
| 54 | // IsComplete returns true when the job has completed successfully. |
| 55 | func (job Job) IsComplete() bool { |
| 56 | return job.State == constant.JobComplete |
| 57 | } |
| 58 | |
| 59 | // IsAt returns true when the job has reached the desired state. |
| 60 | func (job Job) IsAt(state constant.JobState) bool { |
no outgoing calls
no test coverage detected