Crate spin_locked_app

Source
Expand description

Spin internal application interfaces

This crate contains interfaces to Spin application configuration to be used by crates that implement Spin execution environments: trigger executors and host components, in particular.

Re-exports§

pub use locked::Variable;

Modules§

locked
Spin lock file (spin.lock) serialization models.
values
Dynamically-typed value helpers.

Structs§

MetadataKey
MetadataKey is a handle to a typed metadata value.

Enums§

Error
Errors returned by methods in this crate.

Constants§

APP_DESCRIPTION_KEY
MetadataKey for extracting the application description.
APP_NAME_KEY
MetadataKey for extracting the application name.
APP_VERSION_KEY
MetadataKey for extracting the application version.
OCI_IMAGE_DIGEST_KEY
MetadataKey for extracting the OCI image digest.

Traits§

MetadataExt
Helper functions for reading LockedApp metadata

Type Aliases§

Result
Type alias for a Results with Error.

Attribute Macros§

async_trait