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 ¶
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 ¶
func Prune(ctx context.Context, options types.BuilderPruneOptions) ([]buildkitutil.UsageInfo, error)
Prune will prune all build cache.
Types ¶
Click to show internal directories.
Click to hide internal directories.