ganeti-htoolsSource codeContentsIndex
Ganeti.Jobs
Description
Implementation of the job information.
Synopsis
data OpStatus
= OP_STATUS_QUEUED
| OP_STATUS_WAITING
| OP_STATUS_CANCELING
| OP_STATUS_RUNNING
| OP_STATUS_CANCELED
| OP_STATUS_SUCCESS
| OP_STATUS_ERROR
opStatusFromRaw :: forall m[aE2M]. Monad m[aE2M] => String -> m[aE2M] OpStatus
opStatusToRaw :: OpStatus -> String
data JobStatus
= JOB_STATUS_QUEUED
| JOB_STATUS_WAITING
| JOB_STATUS_CANCELING
| JOB_STATUS_RUNNING
| JOB_STATUS_CANCELED
| JOB_STATUS_SUCCESS
| JOB_STATUS_ERROR
jobStatusFromRaw :: forall m[aEaC]. Monad m[aEaC] => String -> m[aEaC] JobStatus
jobStatusToRaw :: JobStatus -> String
Documentation
data OpStatus Source
Our ADT for the OpCode status at runtime (while in a job).
Constructors
OP_STATUS_QUEUED
OP_STATUS_WAITING
OP_STATUS_CANCELING
OP_STATUS_RUNNING
OP_STATUS_CANCELED
OP_STATUS_SUCCESS
OP_STATUS_ERROR
opStatusFromRaw :: forall m[aE2M]. Monad m[aE2M] => String -> m[aE2M] OpStatusSource
opStatusToRaw :: OpStatus -> StringSource
data JobStatus Source
The JobStatus data type. Note that this is ordered especially such that greater/lesser comparison on values of this type makes sense.
Constructors
JOB_STATUS_QUEUED
JOB_STATUS_WAITING
JOB_STATUS_CANCELING
JOB_STATUS_RUNNING
JOB_STATUS_CANCELED
JOB_STATUS_SUCCESS
JOB_STATUS_ERROR
jobStatusFromRaw :: forall m[aEaC]. Monad m[aEaC] => String -> m[aEaC] JobStatusSource
jobStatusToRaw :: JobStatus -> StringSource
Produced by Haddock version 2.6.0