config

package
v1.0.0-beta.27 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LayerBuilds

type LayerBuilds struct {
	// Workers is how many of one export's layers build at once; 0 or 1
	// builds them one at a time, in chain order.
	Workers int
	// Gate, when set, bounds the builds of every export that shares it, one
	// unit per build. It is held only while a blob is built, not while a
	// layer's blob is reused or its export lock is awaited.
	Gate *semaphore.Weighted
}

LayerBuilds bounds building an export's missing layer blobs: diffing each layer against its parent, compressing and writing the diff.

type RefConfig

type RefConfig struct {
	Compression            compression.Config
	PreferNonDistributable bool
	// Builds bounds how an export builds the blobs its layers lack. The zero
	// value builds them one at a time.
	Builds LayerBuilds
}

Jump to

Keyboard shortcuts

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