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.
Modules§
- Spin lock file (spin.lock) serialization models.
- Dynamically-typed value helpers.
Structs§
- An
App
holds loaded configuration for a Spin application. - An
AppComponent
holds configuration for a Spin application component. - An
AppTrigger
holds configuration for a Spin application trigger. - MetadataKey is a handle to a typed metadata value.
- A Variable specifies a custom configuration variable.
Enums§
- Errors returned by methods in this crate.
Constants§
- MetadataKey for extracting the application description.
- MetadataKey for extracting the application name.
- MetadataKey for extracting the application version.
- MetadataKey for extracting the OCI image digest.
Functions§
- Scrubs the locked app to only contain the given list of components Introspects the LockedApp to find and selectively retain the triggers that correspond to those components
Type Aliases§
- Validation function type for ensuring that applications meet requirements even with components filtered out.