layer

package
v0.0.0-...-18cb69e Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotSupportedMediaType = fmt.Errorf("not supported media type for ingester")
)

Functions

func AppendLayers

func AppendLayers(ctx context.Context, store content.Store, baseManifestDesc ocispec.Descriptor, layers []ocispec.Descriptor, annotations map[string]string, labels map[string]string, env []string, created time.Time, entrypoint []string) (ocispec.Descriptor, ocispec.Descriptor, error)

func NewAppendIngester

func NewAppendIngester(manifestPath, configPath string) content.Ingester

NewAppendIngester creates a containerd/content.Ingestor that will write out the modified files to a predefined paths. The descriptor WriterOpt is required with an accurate MediaType.

This is useful in a Bazel context as we need to predeclare where files will be written to.

Types

This section is empty.

Jump to

Keyboard shortcuts

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