forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
raw_manifest_application.go
29 lines (26 loc) · 1.36 KB
/
raw_manifest_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
29
package manifest
type rawManifestApplication struct {
Name string `yaml:"name,omitempty"`
Buildpack string `yaml:"buildpack,omitempty"`
Command string `yaml:"command,omitempty"`
DiskQuota string `yaml:"disk_quota,omitempty"`
Docker rawDockerInfo `yaml:"docker,omitempty"`
EnvironmentVariables map[string]string `yaml:"env,omitempty"`
HealthCheckHTTPEndpoint string `yaml:"health-check-http-endpoint,omitempty"`
HealthCheckType string `yaml:"health-check-type,omitempty"`
Instances *int `yaml:"instances,omitempty"`
Memory string `yaml:"memory,omitempty"`
NoRoute bool `yaml:"no-route,omitempty"`
Path string `yaml:"path,omitempty"`
Routes []rawManifestRoute `yaml:"routes,omitempty"`
Services []string `yaml:"services,omitempty"`
StackName string `yaml:"stack,omitempty"`
Timeout int `yaml:"timeout,omitempty"`
}
type rawManifestRoute struct {
Route string `yaml:"route"`
}
type rawDockerInfo struct {
Image string `yaml:"image,omitempty"`
Username string `yaml:"username,omitempty"`
}