builder

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2018 License: MIT Imports: 17 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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(pm *procmanager.ProcManager, debug bool, workspaceDir string) *Builder

NewBuilder creates a new Builder.

func (*Builder) CleanTask added in v1.0.5

func (b *Builder) CleanTask(ctx context.Context, task *graph.Task)

CleanTask iterates through all build steps and removes their corresponding containers.

func (*Builder) RunTask added in v1.0.5

func (b *Builder) RunTask(ctx context.Context, task *graph.Task) error

RunTask executes a Task.

Jump to

Keyboard shortcuts

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