estargz

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 14 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LayerConvertFunc

func LayerConvertFunc(opts ...estargz.Option) converter.ConvertFunc

LayerConvertFunc converts legacy tar.gz layers into eStargz tar.gz layers. Media type is unchanged.

Should be used in conjunction with WithDockerToOCI().

Otherwise "containerd.io/snapshot/stargz/toc.digest" annotation will be lost, because the Docker media type does not support layer annotations.

func LayerConvertWithLayerAndCommonOptsFunc added in v0.7.0

func LayerConvertWithLayerAndCommonOptsFunc(opts map[digest.Digest][]estargz.Option, commonOpts ...estargz.Option) converter.ConvertFunc

LayerConvertWithLayerAndCommonOptsFunc converts legacy tar.gz layers into eStargz tar.gz layers. Media type is unchanged. Should be used in conjunction with WithDockerToOCI(). See LayerConvertFunc for more details. The difference between this function and LayerConvertFunc is that this allows to specify additional eStargz options per layer.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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