github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+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  )