github.com/wanddynosios/cli/v8@v8.7.9-0.20240221182337-1a92e3a7017f/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  )