Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppManifest ¶
type AppManifest interface { BuildpackUrl(string, string) DiskQuota(string, int64) Memory(string, int64) Service(string, string) StartCommand(string, string) EnvironmentVars(string, string, string) HealthCheckTimeout(string, int) Instances(string, int) Domain(string, string, string) GetContents() []models.Application Stack(string, string) AppPorts(string, []int) Save(f io.Writer) error }
func NewGenerator ¶
func NewGenerator() AppManifest
type Manifest ¶
func NewEmptyManifest ¶
func NewEmptyManifest() (m *Manifest)
type ManifestApplication ¶
type ManifestApplication struct { Name string `yaml:"name"` Instances int `yaml:"instances,omitempty"` Memory string `yaml:"memory,omitempty"` DiskQuota string `yaml:"disk_quota,omitempty"` AppPorts []int `yaml:"app-ports,omitempty"` Host string `yaml:"host,omitempty"` Hosts []string `yaml:"hosts,omitempty"` Domain string `yaml:"domain,omitempty"` Domains []string `yaml:"domains,omitempty"` NoHostname bool `yaml:"no-hostname,omitempty"` NoRoute bool `yaml:"no-route,omitempty"` Buildpack string `yaml:"buildpack,omitempty"` Command string `yaml:"command,omitempty"` Env map[string]interface{} `yaml:"env,omitempty"` Services []string `yaml:"services,omitempty"` Stack string `yaml:"stack,omitempty"` Timeout int `yaml:"timeout,omitempty"` }
type ManifestApplications ¶
type ManifestApplications struct {
Applications []ManifestApplication `yaml:"applications"`
}
type ManifestDiskRepository ¶
type ManifestDiskRepository struct{}
func (ManifestDiskRepository) ReadManifest ¶
func (repo ManifestDiskRepository) ReadManifest(inputPath string) (*Manifest, error)
type ManifestRepository ¶
func NewManifestDiskRepository ¶
func NewManifestDiskRepository() (repo ManifestRepository)
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.