builder

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: BSD-3-Clause Imports: 25 Imported by: ? modules, 0 packages

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

This section is empty.

Variables

View Source
var DeprecatedWasmBuild bool

Functions

func New

func New(ctx context.Context, output io.Writer, workDir string, options ...Option) (iface.Builder, error)

New creates a new container Builder for the given working directory.

Types

type Option added in v1.2.0

type Option func(*builder)

Option configures a Builder.

func Dev added in v1.2.0

func Dev(dev bool) Option

Dev marks the build as running on a development node, which turns off the egress firewall the containers would otherwise be confined by.

type OutOfMemoryError added in v1.3.0

type OutOfMemoryError struct {
	Limit int64 // bytes of RAM, 0 when the build was only limited by its machine
	Swap  bool  // the build could also use the node's swap
}

OutOfMemoryError is a build killed for using more memory than it may. Its message is what the build's owner reads.

func (OutOfMemoryError) Error added in v1.3.0

func (e OutOfMemoryError) Error() string

Jump to

Keyboard shortcuts

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