forked from cloudfoundry/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
raw_manifest_application.go
36 lines (33 loc) · 1.86 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
30
31
32
33
34
35
36
package manifest
type rawManifestApplication struct {
Name string `yaml:"name,omitempty"`
Buildpack string `yaml:"buildpack,omitempty"`
Command string `yaml:"command,omitempty"`
DeprecatedDomain interface{} `yaml:"domain,omitempty"`
DeprecatedDomains interface{} `yaml:"domains,omitempty"`
DeprecatedHost interface{} `yaml:"host,omitempty"`
DeprecatedHosts interface{} `yaml:"hosts,omitempty"`
DeprecatedNoHostname interface{} `yaml:"no-hostname,omitempty"`
DiskQuota string `yaml:"disk_quota,omitempty"`
Docker rawDockerInfo `yaml:"docker,omitempty"`
DropletPath string `yaml:"droplet-path,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"`
RandomRoute bool `yaml:"random-route,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"`
}