Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { BuildpackName string Command string // DiskQuota is the disk size in megabytes. DiskQuota uint64 DockerImage string // EnvironmentVariables can be any valid json type (ie, strings not // guaranteed, although CLI only ships strings). EnvironmentVariables map[string]string HealthCheckHTTPEndpoint string // HealthCheckType attribute defines the number of seconds that is allocated // for starting an application. HealthCheckTimeout int HealthCheckType string Instances int // Memory is the amount of memory in megabytes. Memory uint64 Name string Path string Services []string StackName string }
func ReadAndMergeManifests ¶
func ReadAndMergeManifests(pathToManifest string) ([]Application, error)
func (Application) String ¶
func (app Application) String() string
func (*Application) UnmarshalYAML ¶
func (app *Application) UnmarshalYAML(unmarshaller func(interface{}) error) error
type Manifest ¶
type Manifest struct {
Applications []Application `yaml:"applications"`
}
Click to show internal directories.
Click to hide internal directories.