Skip to main content

Module config

Module config 

Source
Expand description

Gateway deployment-mode configuration types (Epic 17, AAASM-1568).

Configuration is loaded once at startup and threaded through the application. This module is the foundation of Epic 17 — every other story in the Epic depends on these types to decide whether the gateway should boot in local-dev or remote-control-plane mode.

Structs§

AgentConnectConfig
Agent-side connection settings (used by the SDK FFI shims, not the gateway).
GatewayConfig
Top-level gateway configuration loaded at startup.
LocalModeConfig
Configuration for the in-process local-dev control plane.
PostgresConfig
Connection pool and TimescaleDB knobs for the production Postgres StorageBackend.
RedisConfig
Optional Redis policy / session cache.
RemoteModeConfig
Configuration for the network-reachable remote control plane.
RetentionConfig
Hot / warm / cold audit-event lifecycle parameters.
SqliteConfig
Local-mode SQLite StorageBackend settings.
StorageConfig
Durable-persistence configuration for the gateway (Epic 18).
TimescaleConfig
TimescaleDB-specific knobs for the production Postgres backend.
TlsConfig
TLS material for the remote control plane listener.

Enums§

ColdAction
What to do with audit-event rows once they age past the warm_days boundary in RetentionConfig.
ConfigError
Errors that can occur while loading or parsing a GatewayConfig.
DeploymentMode
Which deployment topology the gateway should boot into.
StorageBackendType
Which StorageBackend implementation the gateway should boot.