buildkit

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

View Source
const MaxArgLength = 5000

MaxArgLength is the maximum length of a build argument that can be passed to Docker Each system has its own max (see https://stackoverflow.com/questions/70737793/max-size-of-string-cmd-that-can-be-passed-to-docker) I am choosing 5,000 characters because that's lower than all supported OS/ARCH combinations

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	*config.Config
}

func NewBuilder

func NewBuilder(cfg *config.Config) *Builder

func (*Builder) BuildInvocationImage

func (b *Builder) BuildInvocationImage(ctx context.Context, manifest *manifest.Manifest, opts build.BuildImageOptions) error

func (*Builder) TagInvocationImage

func (b *Builder) TagInvocationImage(ctx context.Context, origTag, newTag string) error

Jump to

Keyboard shortcuts

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