Module v2

Module v2 

Source
Expand description

Serialization types for the Spin manifest V2.

Structs§

AppDetails
App details
AppManifest
App manifest
Component
A Spin component.
ComponentBuildConfig
Component build configuration
ComponentDependencies
Component dependencies
OneOrManyComponentSpecs
One or many ComponentSpec(s)
Trigger
Trigger configuration. A trigger maps an event of the trigger’s type (e.g. an HTTP request on route /shop, a Redis message on channel orders) to a Spin component.
Variable
The name of the application variable.

Enums§

ComponentDependency
Specifies how to satisfy an import dependency of the component. This may be one of:
ComponentSource
The file, package, or URL containing the component Wasm binary. This may be:
ComponentSpec
Component reference or inline definition
TargetEnvironmentRef
Identifies a deployment target.
WasiFilesMount
The files the component is allowed to read. Each list entry is either:

Type Aliases§

KebabId
A “kebab-case” identifier.
SnakeId
A “snake_case” identifier.