Module: Mortar::API::Jobs
- Defined in:
- lib/mortar/api/jobs.rb
Constant Summary collapse
- STATUS_STARTING =
"starting"- STATUS_GATEWAY_STARTING =
Comes from task.
"GATEWAY_STARTING"- STATUS_VALIDATING_SCRIPT =
"validating_script"- STATUS_SCRIPT_ERROR =
"script_error"- STATUS_PLAN_ERROR =
"plan_error"- STATUS_STARTING_CLUSTER =
"starting_cluster"- STATUS_RUNNING =
"running"- STATUS_SUCCESS =
"success"- STATUS_EXECUTION_ERROR =
"execution_error"- STATUS_SERVICE_ERROR =
"service_error"- STATUS_STOPPING =
"stopping"- STATUS_STOPPED =
"stopped"- STATUSES_IN_PROGRESS =
Set.new([STATUS_STARTING, STATUS_GATEWAY_STARTING, STATUS_VALIDATING_SCRIPT, STATUS_STARTING_CLUSTER, STATUS_RUNNING, STATUS_STOPPING])
- STATUSES_COMPLETE =
Set.new([STATUS_SCRIPT_ERROR, STATUS_PLAN_ERROR, STATUS_SUCCESS, STATUS_EXECUTION_ERROR, STATUS_SERVICE_ERROR, STATUS_STOPPED])
- CLUSTER_TYPE__SINGLE_JOB =
'single_job'- CLUSTER_TYPE__PERSISTENT =
'persistent'- CLUSTER_TYPE__PERMANENT =
'permanent'