sources

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source interface {
	Create(buildpack string) Unpacker
}

Source matches the given buildpack and returns an Unpacker instances

func BuiltIn

func BuiltIn() []Source

BuiltIn returns a copy of all builtin buildpack sources

type Unpacker

type Unpacker interface {
	Unpack(ctx context.Context, destinationDir string) error
	CanonicalBuildpack() string
	OriginalBuildpack() string
	RequestedVersion() string
}

Unpacker implements unpacking to a local file-system directory of the underlying buildpack

Jump to

Keyboard shortcuts

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