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.