Crate spin_loader

Source
Expand description

Loaders for Spin applications. This crate implements the possible application sources for Spin applications, and includes functionality to convert the specific configuration (for example local configuration files or from OCI) into Spin configuration that can be consumed by the Spin execution context.

This crate can be extended (or replaced entirely) to support additional loaders, and any implementation that produces a Application is compatible with the Spin execution context.

Modules§

  • Cache for OCI registry entities.

Enums§

Functions§

  • Load a Spin locked app from a spin.toml manifest file. If files_mount_root is given, files mounts will be copied to that directory. If not, files mounts will validated as “direct mounts”.
  • Load a Spin locked app from a standalone Wasm file.