local

package
v0.28.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder uses the host docker daemon to build and tag the image.

func NewBuilder

func NewBuilder(runCtx *runcontext.RunContext) (*Builder, error)

NewBuilder returns an new instance of a local Builder.

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, out io.Writer, tags tag.ImageTags, artifacts []*latest.Artifact) ([]build.Artifact, error)

Build runs a docker build on the host and tags the resulting image with its checksum. It streams build progress to the writer argument.

func (*Builder) DependenciesForArtifact added in v0.24.0

func (b *Builder) DependenciesForArtifact(ctx context.Context, a *latest.Artifact) ([]string, error)

func (*Builder) Labels

func (b *Builder) Labels() map[string]string

Labels are labels specific to local builder.

func (*Builder) Prune added in v0.27.0

func (b *Builder) Prune(ctx context.Context, out io.Writer) error

Prune uses the docker API client to remove all images built with Skaffold

Jump to

Keyboard shortcuts

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