buildpacks

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDependencies

func GetDependencies(ctx context.Context, workspace string, a *latest.BuildpackArtifact) ([]string, error)

GetDependencies returns dependencies listed for a buildpack artifact

Types

type BuildpackBuilder

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

BuildpackBuilder is a builder for buildpack artifacts

func NewArtifactBuilder

func NewArtifactBuilder(localDocker docker.LocalDaemon, pushImages bool) *BuildpackBuilder

NewArtifactBuilder returns a new buildpack artifact builder

func (*BuildpackBuilder) Build

func (b *BuildpackBuilder) Build(ctx context.Context, out io.Writer, a *latest.Artifact, tag string) (string, error)

Build builds an artifact with Cloud Native Buildpacks: https://buildpacks.io/

Jump to

Keyboard shortcuts

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