build

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2018 License: Apache-2.0 Imports: 6 Imported by: 22

Documentation

Index

Constants

View Source
const SuccessStatusCode = build.SuccessStatusCode

SuccessStatusCode is the status code returned for success.

Variables

This section is empty.

Functions

This section is empty.

Types

type Build

type Build struct {
	build.Build

	// Buildpack represents the metadata associated with a buildpack.
	Buildpack buildpackPkg.Buildpack

	// Layers represents the launch layers contributed by a buildpack.
	Layers layersCf.Layers

	// Logger is used to write debug and info to the console.
	Logger loggerPkg.Logger
}

Build is an extension to libbuildpack.Build that allows additional functionality to be added.

func DefaultBuild

func DefaultBuild() (Build, error)

DefaultBuild creates a new instance of Build using default values.

func (Build) String

func (b Build) String() string

String makes Build satisfy the Stringer interface.

Jump to

Keyboard shortcuts

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