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 application.Application // Buildpack represents the metadata associated with a buildpack. Buildpack buildpack.Buildpack // Layers represents the launch layers contributed by a buildpack. Layers layers.Layers // Logger is used to write debug and info to the console. Logger logger.Logger // Plans represents required contributions. Plans buildpackplan.Plans // Platform represents components contributed by the platform to the buildpack. Platform platform.Platform // Services represents the services bound to the application. Services services.Services // Stack is the stack currently available to the application. Stack stack.Stack // Writer is the writer used to write the build plan in Success(). Writer buildpackplan.Writer }
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.
Click to show internal directories.
Click to hide internal directories.