zstdchunked

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2021 License: Apache-2.0 Imports: 18 Imported by: 3

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.

Jump to

Keyboard shortcuts

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