IsAt returns true when the job has reached the desired state.
(state constant.JobState)
| 58 | |
| 59 | // IsAt returns true when the job has reached the desired state. |
| 60 | func (job Job) IsAt(state constant.JobState) bool { |
| 61 | return job.State == state |
| 62 | } |
| 63 | |
| 64 | type jobWarning struct { |
| 65 | Detail string `json:"detail"` |
no outgoing calls
no test coverage detected