builder

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2025 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, globalOptions *options.Global, opts *options.BuilderBuild) error

func Prune

func Prune(ctx context.Context, output io.Writer, _ *options.Global, opts *options.BuilderPrune) error

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