detect

package
v1.91.7 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 12

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

func DefaultDetect() (Detect, error)

DefaultDetect creates a new instance of Detect using default values. During initialization, all platform environment variables are set in the current process environment.

Jump to

Keyboard shortcuts

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