local

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: 23 Imported by: 2

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

func (*Builder) PushImages added in v0.34.0

func (b *Builder) PushImages() bool

func (*Builder) SyncMap added in v0.32.0

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

Jump to

Keyboard shortcuts

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