Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App 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) Route(string, string, string, string, int) GetContents() []models.Application Stack(string, string) AppPorts(string, []int) Save(f io.Writer) error }
func NewGenerator ¶
func NewGenerator() App
type Application ¶
type Application 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"` Routes []map[string]string `yaml:"routes,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 Applications ¶
type Applications struct {
Applications []Application `yaml:"applications"`
}
type DiskRepository ¶
type DiskRepository struct{}
func (DiskRepository) ReadManifest ¶
func (repo DiskRepository) ReadManifest(inputPath string) (*Manifest, error)
type Manifest ¶
func NewEmptyManifest ¶
func NewEmptyManifest() (m *Manifest)
type Repository ¶
func NewDiskRepository ¶
func NewDiskRepository() (repo Repository)
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.