Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JobStateMap = map[int16]api.JobStatus{ lookout.JobLeasedOrdinal: api.JobStatus_LEASED, lookout.JobQueuedOrdinal: api.JobStatus_QUEUED, lookout.JobPendingOrdinal: api.JobStatus_PENDING, lookout.JobRunningOrdinal: api.JobStatus_RUNNING, lookout.JobSucceededOrdinal: api.JobStatus_SUCCEEDED, lookout.JobFailedOrdinal: api.JobStatus_FAILED, lookout.JobCancelledOrdinal: api.JobStatus_CANCELLED, lookout.JobPreemptedOrdinal: api.JobStatus_PREEMPTED, }
JobStateMap is a mapping between database state and api states
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.