command

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const Command = "command"

Command is the key identifying the command executable in the build plan.

View Source
const Dependency = "riff-invoker-command"

Dependency is a key identifying the command invoker dependency in the build plan.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buildpack added in v0.1.0

type Buildpack struct{}

func (Buildpack) Build added in v0.1.0

func (b Buildpack) Build(build build.Build) (int, error)

func (Buildpack) Detect added in v0.1.0

func (b Buildpack) Detect(detect detect.Detect, metadata function.Metadata) (int, error)

func (Buildpack) Id added in v0.1.0

func (b Buildpack) Id() string

type Function added in v0.1.0

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

Function represents the function to be executed.

func NewFunction added in v0.1.0

func NewFunction(build build.Build) (Function, bool, error)

NewFunction creates a new instance returning true if the riff-invoker-command plan exists.

func (Function) Contribute added in v0.1.0

func (f Function) Contribute() error

Contributes makes the contribution to the launch layer.

type Invoker added in v0.1.0

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

Invoker represents the Command invoker contributed by the buildpack.

func NewInvoker added in v0.1.0

func NewInvoker(build build.Build) (Invoker, bool, error)

NewInvoker creates a new instance returning true if the riff-invoker-command plan exists.

func (Invoker) Contribute added in v0.1.0

func (i Invoker) Contribute() error

Contributes 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