Module schema

Module schema 

Source
Expand description

This module holds schema defintions for Deploy configurations and other types.

Structs§

AppConfigCapabilityMapV1
Restricted version of super::CapabilityMapV1, with only a select subset of settings.
AppConfigCapabilityMemoryV1
Memory capability settings.
AppConfigV1
User-facing app.yaml config file for apps.
AppMeta
Well-known annotations used by the backend.
AppStateV1
AppV1Spec
Describes a backend application.
AppVersionV1Spec
Describes a backend application.
AppVersionV1State
BaseClaims
Basic JWT claims.
CapabilityCpuV1
CapabilityFileSystemV1
CapabilityLoggingV1
Configure log capturing.
CapabilityMapV1
CapabilityMemorySwapV1
Configuration for swap memory.
CapabilityMemoryV1
Memory settings.
CapabilityNetworkDnsV1
CapabilityNetworkGatewayV1
CapabilityNetworkV1
Instance network configuration.
CapabilityPersistentMemoryV1
CapabilityWasiV1
WASI related configuration.
DeployWorkloadToken
Claims for a JWT token that allows running a specific workload on Deploy.
DeployWorkloadTokenV1
Claims for a JWT token that allows running a specific workload on Deploy.
Entity
An entity with associated data.
EntityKind
Represents an entity kind as a string.
EntityMeta
Common entity metadata.
EntityState
State of an entity.
EntityStateComponent
Single component of an entities state.
EntityTypeSpecV1
EntityUri
Represents an entity URI.
EntityUriParseError
EnvVarV1
FileSystemPermissionsV1
FileSystemVolumeConfigV1
FileSystemVolumeMountV1
FileSystemVolumeSourceLocalV1
FullEntity
An entity with associated data, including state.
GenericEntity
Generic, untyped entity.
HttpRouteHeaderMatch
HttpRouteMatch
HttpRouteV1
An HTTP route of an HTTP router.
HttpRouterSpecV1
IpBlacklistEntrySpec
NetworkDnsAllowedHostsV1
NetworkEgressV1
NetworkFilterV1
NetworkGatewayTlsAutoCertsV1
NetworkGatewayTlsV1
NetworkIngressV1
NetworkTokenV1
NetworkVpnV1
StringWebcIdent
Wrapper around [WebcPackageIdentifierV1].
WebcIdent
Parsed representation of a WebC package source.
WebcPackagePathV1
WebcPackageVersionV1Alpha1Spec
WebcParseError
WorkloadV2
Spawn a new workload on demand.

Enums§

AnyEntity
BanScope
CapabilityV1
CgiDialect
The CGI dialect to use when running a CGI workload.
DeployWorkloadTokenData
Claims for a JWT token that allows running a specific workload on Deploy.
EntityKindParseError
Error that can occur when parsing an EntityKind.
EntityOrRef
Represents either an inline entity definition, or a reference to an entity.
EntityUriParseErrorKind
EnvVarSourceV1
FileSystemVolumeSourceV1
HttpRouteHandlerV1
HttpRouteHeaderValueMatch
HttpRoutePathMatch
MemorySwappinessV1
Determines the “swappiness” of memory.
RunnerKind

Constants§

APP_ID_PREFIX

Traits§

EntityDescriptorConst
A marker trait for entity types.
Merge
Extend values with defaults.

Functions§

deserialize_entity_yaml_typed
Deserialize a typed entity from YAML.
deserialize_json
Deserialize JSON to a given type using serde-path-to-error.
parse_upcast_app_version_yaml
Parse either a deprecated AppV1 or a new AppVersionV1 from yaml.

Type Aliases§

AppV1
AppVersionV1
EntityTypeSpec
HttpRouterV1
IpBlacklistEntry
JsonEntity
WebcPackageVersion