package uncompress
import "github.com/containerd/containerd/images/converter/uncompress"
Index ¶
- func IsUncompressedType(mt string) bool
- func LayerConvertFunc(ctx context.Context, cs content.Store, desc ocispec.Descriptor) (*ocispec.Descriptor, error)
Functions ¶
func IsUncompressedType ¶
IsUncompressedType returns whether the provided media type is considered an uncompressed layer type
func LayerConvertFunc ¶
func LayerConvertFunc(ctx context.Context, cs content.Store, desc ocispec.Descriptor) (*ocispec.Descriptor, error)
LayerConvertFunc converts tar.gz layers into uncompressed tar layers. Media type is changed, e.g., "application/vnd.oci.image.layer.v1.tar+gzip" -> "application/vnd.oci.image.layer.v1.tar"
Source Files ¶
- Version
- v1.5.0
- Published
- May 3, 2021
- Platform
- linux/amd64
- Imports
- 10 packages
- Last checked
- 35 minutes ago –
Tools for package owners.