procfile

package
v1.1.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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

func NewProcfile(build build.Build) (Procfile, bool, error)

NewProcfile creates a new Procfile instance. OK is true if the build plan contains "procfile" dependency.

func (Procfile) Contribute

func (p Procfile) Contribute() error

Contribute makes the contribution to launch

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL