Module ostree_ext::container::store

source ·
Expand description

APIs for storing (layered) container images as OSTree commits

§Extension of encapsulation support

This code supports ingesting arbitrary layered container images from an ostree-exported base. See encapsulate for more information on encaspulation of images.

Structs§

Enums§

Constants§

  • The ostree ref prefix for “base” image references that are used by derived images. If you maintain tooling which is locally building derived commits, write a ref with this prefix that is owned by your code. It’s a best practice to prefix the ref with the project name, so the final ref may be of the form e.g. ostree/container/baseimage/bootc/foo.
  • Value of type a{sa{su}} containing number of filtered out files

Functions§

  • Copy a downloaded image from one repository to another, while also optionally changing the image reference type.
  • Garbage collect unused image layer references.
  • Given an image, if it has any non-ostree compatible content, return a suitable warning message.
  • List all images stored
  • Return the original digest of the manifest stored in the commit metadata. This will be a string of the form e.g. sha256:<digest>.
  • Query metadata for a pulled image.
  • Query metadata for a pulled image via an OSTree commit digest. The digest must refer to a pulled container image’s merge commit.
  • Remove the specified image reference. If the image is already not present, this function will successfully perform no operation.
  • Remove the specified image references. If an image is not found, further images will be removed, but an error will be returned.

Type Aliases§

  • The type used to store content filtering information with META_FILTERED.