-
Notifications
You must be signed in to change notification settings - Fork 2
/
job_go_gen.cue
48 lines (41 loc) · 1000 Bytes
/
job_go_gen.cue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// Code generated by cue get go. DO NOT EDIT.
//cue:generate cue get go github.com/dgruber/drmaa2interface
package drmaa2cue
// Job defines all methods which needs to be implemented for
// a DRMAA job type.
#Job: _
// JobState represents the state of a job.
#JobState: int // #enumJobState
#enumJobState:
#Unset |
#Undetermined |
#Queued |
#QueuedHeld |
#Running |
#Suspended |
#Requeued |
#RequeuedHeld |
#Done |
#Failed
#values_JobState: {
Unset: #Unset
Undetermined: #Undetermined
Queued: #Queued
QueuedHeld: #QueuedHeld
Running: #Running
Suspended: #Suspended
Requeued: #Requeued
RequeuedHeld: #RequeuedHeld
Done: #Done
Failed: #Failed
}
#Unset: #JobState & 0
#Undetermined: #JobState & 1
#Queued: #JobState & 2
#QueuedHeld: #JobState & 3
#Running: #JobState & 4
#Suspended: #JobState & 5
#Requeued: #JobState & 6
#RequeuedHeld: #JobState & 7
#Done: #JobState & 8
#Failed: #JobState & 9