command

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Dependency is a key identifying the command invoker dependency in the build plan.
	Dependency = "riff-invoker-command"

	// command is the key identifying the command executable in the build plan.
	Command = "command"
)

Variables

This section is empty.

Functions

func BuildPlanContribution

func BuildPlanContribution(d detect.Detect, m function.Metadata) buildplan.BuildPlan

func DetectCommand

func DetectCommand(d detect.Detect, m function.Metadata) (bool, error)

func NewBuildpack

func NewBuildpack() function.Buildpack

Types

type CommandBuildpack

type CommandBuildpack struct {
	// contains filtered or unexported fields
}

func (*CommandBuildpack) Build

func (*CommandBuildpack) Build(b build.Build) error

func (*CommandBuildpack) Detect

func (*CommandBuildpack) Id

func (bp *CommandBuildpack) Id() string

type RiffCommandInvoker

type RiffCommandInvoker struct {
	// contains filtered or unexported fields
}

RiffCommandInvoker represents the Command invoker contributed by the buildpack.

func NewCommandInvoker

func NewCommandInvoker(build build.Build) (RiffCommandInvoker, bool, error)

func (RiffCommandInvoker) Contribute

func (r RiffCommandInvoker) Contribute() error

Contribute makes the contribution to the launch layer

Jump to

Keyboard shortcuts

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