-
Notifications
You must be signed in to change notification settings - Fork 0
/
tick.go
26 lines (22 loc) · 858 Bytes
/
tick.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
package models
type Manifest struct {
Applications []Application `yaml:"applications,omitempty"`
}
type Application struct {
Name string `yaml:"name,omitempty"`
Memory string `yaml:"memory,omitempty"`
DiskQuota string `yaml:"disk_quota,omitempty"`
BuildPack string `yaml:"buildpack,omitempty"`
Instances int `yaml:"instances,omitempty"`
Env interface{} `yaml:"env,omitempty"`
}
type TickEnvironment struct {
GoPackageName string `yaml:"GOPACKAGENAME,omitempty"`
RegistryBaseURL string `yaml:"REGISTRY_BASE_URL,omitempty"`
RegistryTTLSeconds int `yaml:"REGISTRY_TTL_SECONDS,omitempty"`
StartPort int `yaml:"START_PORT,omitempty"`
ListenPorts int `yaml:"LISTEN_PORTS,omitempty"`
}
type ProxyEnvironment struct {
GoPackageName string `yaml:"GOPACKAGENAME,omitempty"`
}