Documentation
¶
Index ¶
Constants ¶
View Source
const ( // FailStatusCode is the status code returned for fail. FailStatusCode = detect.FailStatusCode // PassStatusCode is the status code returned for pass. PassStatusCode = detect.PassStatusCode )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Detect ¶
type Detect struct {
detect.Detect
// Buildpack represents the metadata associated with a buildpack.
Buildpack buildpack.Buildpack
// Logger is used to write debug and info to the console.
Logger logger.Logger
// Runner is used to run commands outside of the process.
Runner runner.Runner
// Services represents the services bound to the application.
Services services.Services
}
Detect is an extension to libbuildpack.Detect that allows additional functionality to be added.
func DefaultDetect ¶
DefaultDetect creates a new instance of Detect using default values. During initialization, all platform environment variables are set in the current process environment.
Click to show internal directories.
Click to hide internal directories.