Documentation
¶
Index ¶
Constants ¶
View Source
const Dependency = "procfile"
Dependency indicates that an application runs on the JVM.
Variables ¶
This section is empty.
Functions ¶
func ParseProcfile ¶
func ParseProcfile(application application.Application, logger logger.Logger) (map[string]string, bool, error)
ParseProcfile returns the contents of a procfile and true if the application contains a Procfile file, otherwise false.
Types ¶
type Procfile ¶
type Procfile struct { // Plan contains the process types and commands. Plan buildpackplan.Plan // contains filtered or unexported fields }
Procfile represents the contents of a Procfile.
func NewProcfile ¶
NewProcfile creates a new Procfile instance. OK is true if the build plan contains "procfile" dependency.
func (Procfile) Contribute ¶
Contribute makes the contribution to launch
Click to show internal directories.
Click to hide internal directories.