forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.go
28 lines (22 loc) · 921 Bytes
/
application.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package constant
// ApplicationHealthCheckType is the method to reach the applications health check
type ApplicationHealthCheckType string
const (
ApplicationHealthCheckPort ApplicationHealthCheckType = "port"
ApplicationHealthCheckHTTP ApplicationHealthCheckType = "http"
ApplicationHealthCheckProcess ApplicationHealthCheckType = "process"
)
// ApplicationState is the running state of an application.
type ApplicationState string
const (
ApplicationStarted ApplicationState = "STARTED"
ApplicationStopped ApplicationState = "STOPPED"
)
// ApplicationPackageState is the staging state of application bits.
type ApplicationPackageState string
const (
ApplicationPackageStaged ApplicationPackageState = "STAGED"
ApplicationPackagePending ApplicationPackageState = "PENDING"
ApplicationPackageFailed ApplicationPackageState = "FAILED"
ApplicationPackageUnknown ApplicationPackageState = "UNKNOWN"
)