Skip to main content

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
ComponentProfileBuildOverride
Customisations for a Spin component build in a non-default profile.
ComponentProfileOverride
Customisations for a Spin component in a non-default profile.
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.
TriggerDependencies
One or many ComponentSpec(s)
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
InheritConfiguration
The set of configurations to inherit from the parent component.
TargetEnvironmentRef
Identifies a deployment target.
TriggerDependency
Specifies how to satisfy an import dependency of the component. This may be one of:
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.