builder

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2018 License: MIT Imports: 17 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// NoBaseImageSpecifierLatest is the empty base image
	// Note that :latest is not valid in the FROM clause, but we're
	// always appending :latest to tags during processing.
	NoBaseImageSpecifierLatest = "scratch:latest"

	// DockerHubRegistry is the docker hub registry
	DockerHubRegistry = "registry.hub.docker.com"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder builds images.

func NewBuilder

func NewBuilder(tm *taskmanager.TaskManager, debug bool, workspaceDir string) *Builder

NewBuilder creates a new Builder.

func (*Builder) CleanAllBuildSteps

func (b *Builder) CleanAllBuildSteps(ctx context.Context, pipeline *graph.Pipeline)

CleanAllBuildSteps cleans up all build steps and removes their corresponding Docker containers.

func (*Builder) RunAllBuildSteps

func (b *Builder) RunAllBuildSteps(ctx context.Context, pipeline *graph.Pipeline) error

RunAllBuildSteps executes a pipeline.

Jump to

Keyboard shortcuts

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