github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/api/cloudcontroller/ccv2/constant/application_instance.go (about) 1 package constant 2 3 // ApplicationInstanceState reflects the state of the individual app 4 // instance. 5 type ApplicationInstanceState string 6 7 const ( 8 // ApplicationInstanceCrashed represents an application instance in the 9 // crashed state. 10 ApplicationInstanceCrashed ApplicationInstanceState = "CRASHED" 11 // ApplicationInstanceDown represents an application instance in the down 12 // state. 13 ApplicationInstanceDown ApplicationInstanceState = "DOWN" 14 // ApplicationInstanceFlapping represents an application instance that keeps 15 // failing after it starts. 16 ApplicationInstanceFlapping ApplicationInstanceState = "FLAPPING" 17 // ApplicationInstanceRunning represents an application instance that is 18 // currently running. 19 ApplicationInstanceRunning ApplicationInstanceState = "RUNNING" 20 // ApplicationInstanceStarting represents an application that is the process 21 // of starting. 22 ApplicationInstanceStarting ApplicationInstanceState = "STARTING" 23 // ApplicationInstanceUnknown represents a state that cannot be determined. 24 ApplicationInstanceUnknown ApplicationInstanceState = "UNKNOWN" 25 )