Module wasmer_deploy_schema::schema
source · Expand description
This module holds schema defintions for Deploy configurations and other types.
Structs
- Restricted version of
super::CapabilityMapV1
, with only a select subset of settings. - Memory capability settings.
- User-facing app.yaml config file for apps.
- Well-known annotations used by the backend.
- Describes a backend application.
- Describes a backend application.
- Basic JWT claims.
- Configure log capturing.
- Configuration for swap memory.
- Memory settings.
- Instance network configuration.
- WASI related configuration.
- Claims for a JWT token that allows running a specific workload on Deploy.
- Claims for a JWT token that allows running a specific workload on Deploy.
- An entity with associated data.
- Represents an entity kind as a string.
- Common entity metadata.
- State of an entity.
- Single component of an entities state.
- Represents an entity URI.
- An entity with associated data, including state.
- Generic, untyped entity.
- An HTTP route of an HTTP router.
- Wrapper around [
WebcPackageIdentifierV1
]. - Parsed representation of a WebC package source.
- Spawn a new workload on demand.
Enums
- The CGI dialect to use when running a CGI workload.
- Claims for a JWT token that allows running a specific workload on Deploy.
- Error that can occur when parsing an
EntityKind
. - Represents either an inline entity definition, or a reference to an entity.
- Determines the “swappiness” of memory.
Constants
Traits
- A marker trait for entity types.
- Extend values with defaults.
Functions
- Deserialize a typed entity from YAML.
- Deserialize JSON to a given type using serde-path-to-error.
- Parse either a deprecated AppV1 or a new AppVersionV1 from yaml.