builder

package
v2.3.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrOCILayoutPrefixNotFound = errors.New("OCI layout prefix not found")
	ErrOCILayoutEmptyDigest    = errors.New("OCI layout cannot have empty digest")
)

Functions

func Build

func Build(ctx context.Context, client *containerd.Client, options types.BuilderBuildOptions) error

func GetEffectiveSourcePolicyFile

func GetEffectiveSourcePolicyFile(optionValue string) string

GetEffectiveSourcePolicyFile returns the effective source policy file path. If optionValue is set, it takes precedence. Otherwise, the EXPERIMENTAL_BUILDKIT_SOURCE_POLICY environment variable is used for Docker Buildx compatibility.

func Prune

Prune will prune all build cache.

Types

type PlatformParser

type PlatformParser interface {
	Parse(platform string) (platforms.Platform, error)
	DefaultSpec() platforms.Platform
}

Jump to

Keyboard shortcuts

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