Module ostree_ext::container[][src]

Expand description

APIs bridging OSTree and container images

This crate contains APIs to bidirectionally map between OSTree repositories and container images.

Structs

Configuration for the generated container.

Combination of a remote image reference and transport.

The result of an import operation

The result of an import operation

Information about the image manifest.

Enums

A backend/transport for OCI/Docker images.

Constants

The label injected into a container image that contains the ostree commit SHA-256.

Functions

Given an OSTree repository and ref, generate a container image.

Download the manifest for a target image.

Read the contents of the first .tar we find. The first return value is an AsyncRead of that tar file. The second return value is a background worker task that will return back to the caller the provided input stream (converted to a synchronous reader). This ensures the caller can take care of closing the input stream.

Fetch a container image and import its embedded OSTree commit.