Crate spin_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.

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§

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§

  • Type alias for a Results with Error.
  • Validation function type for ensuring that applications meet requirements even with components filtered out.