docker

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2019 License: Apache-2.0 Imports: 17 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 builds artifacts with Docker.

func NewBuilder

func NewBuilder() *Builder

NewBuilder creates a new Builder that builds artifacts with Docker.

func (*Builder) Build

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

Build is responsible for building artifacts in their respective execution environments The builder plugin is also responsible for setting any necessary defaults

func (*Builder) DependenciesForArtifact added in v0.24.0

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

DependenciesForArtifact returns the dependencies for this docker artifact

func (*Builder) Init

Init stores skaffold options and the execution environment

func (*Builder) Labels

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

Labels are labels specific to Docker.

Jump to

Keyboard shortcuts

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