detect

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: Apache-2.0 Imports: 4 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
}

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.

func (Detect) String

func (d Detect) String() string

String makes Detect satisfy the Stringer interface.

Jump to

Keyboard shortcuts

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