builder

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 31 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 manages building images.

func NewBuilder

func NewBuilder(config *config.ConfigImageBuild, workDir string) (*Builder, error)

NewBuilder creates a Builder.

workDir can be empty to use /tmp (not recommended)

func (*Builder) Build

func (b *Builder) Build() error

Build completes the build process.

func (*Builder) Close

func (b *Builder) Close()

Close the builder to release the resources it was using.

func (*Builder) SetOutputStream added in v1.0.0

func (b *Builder) SetOutputStream(s io.Writer)

SetOutputStream sets the output stream.

Jump to

Keyboard shortcuts

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