builder

package
v0.0.0-...-f05ad83 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2019 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildOpts

type BuildOpts struct {
	Verbose bool
	NoCache bool
}

BuildOpts contains a list of build options.

type Builder

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

Builder is a wrapper around `docker build` which provides a better UX.

func New

func New(rootDir, image string) *Builder

New creates a new Builder.

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, opts BuildOpts) error

Build executes a build.

type Parser

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

Parser is the build output parser

func (*Parser) Parse

func (p *Parser) Parse(r io.Reader, opts BuildOpts) error

Parse parses the build output

Jump to

Keyboard shortcuts

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