github.com/loggregator/cli@v6.33.1-0.20180224010324-82334f081791+incompatible/api/cloudcontroller/ccv2/constant/application.go (about) 1 package constant 2 3 // ApplicationHealthCheckType is the method to reach the applications health check 4 type ApplicationHealthCheckType string 5 6 const ( 7 ApplicationHealthCheckPort ApplicationHealthCheckType = "port" 8 ApplicationHealthCheckHTTP ApplicationHealthCheckType = "http" 9 ApplicationHealthCheckProcess ApplicationHealthCheckType = "process" 10 ) 11 12 // ApplicationState is the running state of an application. 13 type ApplicationState string 14 15 const ( 16 ApplicationStarted ApplicationState = "STARTED" 17 ApplicationStopped ApplicationState = "STOPPED" 18 ) 19 20 // ApplicationPackageState is the staging state of application bits. 21 type ApplicationPackageState string 22 23 const ( 24 ApplicationPackageStaged ApplicationPackageState = "STAGED" 25 ApplicationPackagePending ApplicationPackageState = "PENDING" 26 ApplicationPackageFailed ApplicationPackageState = "FAILED" 27 ApplicationPackageUnknown ApplicationPackageState = "UNKNOWN" 28 )