local

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 22 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(cfg Config) (*Builder, error)

NewBuilder returns an new instance of a local Builder.

func (*Builder) ArtifactStore added in v1.7.1

func (b *Builder) ArtifactStore(store build.ArtifactStore)

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) 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) TryImportMissing added in v1.7.1

func (b *Builder) TryImportMissing() bool

type Config added in v1.7.1

type Config interface {
	docker.Config

	Pipeline() latest.Pipeline
	GlobalConfig() string
	GetKubeContext() string
	DetectMinikube() bool
	SkipTests() bool
	Mode() config.RunMode
	NoPruneChildren() bool
	Muted() config.Muted
}

Jump to

Keyboard shortcuts

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