Documentation
¶
Index ¶
Constants ¶
View Source
const SuccessStatusCode = 0
SuccessStatusCode is the status code returned for success.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct {
// Application is the application being processed by the buildpack.
Application applicationPkg.Application
// Buildpack represents the metadata associated with a buildpack.
Buildpack buildpackPkg.Buildpack
// BuildPlan represents dependencies contributed by previous builds.
BuildPlan buildplanPkg.BuildPlan
// BuildPlanWriter is the writer used to write the BuildPlan in Pass().
BuildPlanWriter buildplanPkg.Writer
// Layers represents the launch layers contributed by a buildpack.
Layers layersPkg.Layers
// Logger is used to write debug and info to the console.
Logger loggerPkg.Logger
// Platform represents components contributed by the platform to the buildpack.
Platform platformPkg.Platform
// Stack is the stack currently available to the application.
Stack string
}
Build represents all of the components available to a buildpack at build time.
func DefaultBuild ¶
DefaultBuild creates a new instance of Build using default values.
func (Build) Failure ¶
Failure signals an unsuccessful build by exiting with a specified positive status code.
Click to show internal directories.
Click to hide internal directories.