Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var JobStateMap = map[int16]queryapi.JobStatus{ lookout.JobLeasedOrdinal: queryapi.JobStatus_LEASED, lookout.JobQueuedOrdinal: queryapi.JobStatus_QUEUED, lookout.JobPendingOrdinal: queryapi.JobStatus_PENDING, lookout.JobRunningOrdinal: queryapi.JobStatus_RUNNING, lookout.JobSucceededOrdinal: queryapi.JobStatus_SUCCEEDED, lookout.JobFailedOrdinal: queryapi.JobStatus_FAILED, lookout.JobCancelledOrdinal: queryapi.JobStatus_CANCELLED, lookout.JobPreemptedOrdinal: queryapi.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.