github.com/cloudfoundry-community/cloudfoundry-cli@v6.44.1-0.20240130060226-cda5ed8e89a5+incompatible/api/cloudcontroller/ccv2/constant/job.go (about) 1 package constant 2 3 // JobStatus is the current state of a job. 4 type JobStatus string 5 6 const ( 7 // JobStatusFailed is when the job is no longer running due to a failure. 8 JobStatusFailed JobStatus = "failed" 9 10 // JobStatusFinished is when the job is no longer and it was successful. 11 JobStatusFinished JobStatus = "finished" 12 13 // JobStatusQueued is when the job is waiting to be run. 14 JobStatusQueued JobStatus = "queued" 15 16 // JobStatusRunning is when the job is running. 17 JobStatusRunning JobStatus = "running" 18 )