github.com/franc20/ayesa_sap@v7.0.0-beta.28.0.20200124003224-302d4d52fa6c+incompatible/api/cloudcontroller/ccv3/constant/task.go (about) 1 package constant 2 3 // TaskState represents the state of the task 4 type TaskState string 5 6 const ( 7 // TaskPending is when the task is pending. 8 TaskPending TaskState = "PENDING" 9 // TaskRunning is when the task is running. 10 TaskRunning TaskState = "RUNNING" 11 // TaskSucceeded is when the task succeeded. 12 TaskSucceeded TaskState = "SUCCEEDED" 13 // TaskCanceling is when the task is canceling. 14 TaskCanceling TaskState = "CANCELING" 15 // TaskFailed is when the task Failed. 16 TaskFailed TaskState = "FAILED" 17 )