Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToResult ¶
func ConvertToResult(data LaunchData) buildpackapplifecycle.StagingResult
Types ¶
type LaunchData ¶
type LaunchData struct {
Processes []Process `yaml:"processes"`
}
type Process ¶
type Process struct {
Type string `yaml:"type" json:"type"`
Command string `yaml:"command" json:"command"`
Platforms struct {
Cloudfoundry struct {
SidecarFor []string `yaml:"sidecar_for" json:"sidecar_for"`
} `yaml:"cloudfoundry" json:"cloudfoundry"`
} `yaml:"platforms" json:"platforms"`
Limits struct {
Memory int `yaml:"memory" json:"memory"`
} `yaml:"limits" json:"limits"`
}
func MergeProcesses ¶
func ProcDataToProcesses ¶
func (*Process) Replaceable ¶
Click to show internal directories.
Click to hide internal directories.