spin_oci

Module client

Source
Expand description

Spin’s client for distributing applications via OCI registries

Structs§

  • Client for interacting with an OCI registry for Spin applications.
  • Options for configuring a Client

Enums§

  • Controls whether predefined annotations are generated when pushing an application. If an explicit annotation has the same name as a predefined one, the explicit one takes precedence.

Constants§

  • Media type for a layer representing a compressed archive of one or more files used by a Spin application
  • Media type for a layer representing a generic data file used by a Spin application
  • Media type for a layer representing a locked Spin application configuration

Functions§

  • Unpack contents of the provided archive layer, represented by bytes and its corresponding digest, into the provided cache. A temporary staging directory is created via tempfile::tempdir() to store the unpacked contents prior to writing to the cache.