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 zstd:chunked layers.
This changes Docker MediaType to OCI MediaType so this should be used in conjunction with WithDockerToOCI().
Otherwise "io.containers.zstd-chunked.manifest-checksum" annotation will be lost, because the Docker media type does not support layer annotations.
func LayerConvertWithLayerOptsFunc ¶
func LayerConvertWithLayerOptsFunc(opts map[digest.Digest][]estargz.Option) converter.ConvertFunc
LayerConvertWithLayerOptsFunc converts legacy tar.gz layers into zstd:chunked layers.
This changes Docker MediaType to OCI MediaType so this 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.