Skip to main content

Module layer

Module layer 

Source
Expand description

Shared layer import logic for OCI container images.

This module provides common functionality for importing OCI image layers into a composefs repository, shared between the skopeo proxy path and direct OCI layout import.

Functionsยง

decompress_async
Wrap an async reader with the appropriate decompressor for the media type.
import_tar_async
Import a tar layer from an async reader into the repository.
is_tar_media_type
Check if a media type represents a tar-based layer.
store_blob_async
Store raw bytes from an async reader as a repository object.