github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/api/cloudcontroller/ccv3/constant/process.go (about)

     1  package constant
     2  
     3  // ProcessInstanceState is the state of a given process.
     4  type ProcessInstanceState string
     5  
     6  const (
     7  	// ProcessInstanceRunning is when the process is running normally.
     8  	ProcessInstanceRunning ProcessInstanceState = "RUNNING"
     9  	// ProcessInstanceCrashed is when the process has crashed.
    10  	ProcessInstanceCrashed ProcessInstanceState = "CRASHED"
    11  	// ProcessInstanceStarting is when the process is starting up.
    12  	ProcessInstanceStarting ProcessInstanceState = "STARTING"
    13  	// ProcessInstanceDown is when the process has gone down.
    14  	ProcessInstanceDown ProcessInstanceState = "DOWN"
    15  )
    16  
    17  // ProcessTypeWeb represents the "web" process type.
    18  const ProcessTypeWeb = "web"