JobStates returns all possible job states.
()
| 223 | |
| 224 | // JobStates returns all possible job states. |
| 225 | func JobStates() []JobState { |
| 226 | return []JobState{ |
| 227 | JobStateAvailable, |
| 228 | JobStateCancelled, |
| 229 | JobStateCompleted, |
| 230 | JobStateDiscarded, |
| 231 | JobStatePending, |
| 232 | JobStateRetryable, |
| 233 | JobStateRunning, |
| 234 | JobStateScheduled, |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | // AttemptError is an error from a single job attempt that failed due to an |
| 239 | // error or a panic. |
no outgoing calls
searching dependent graphs…