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§
- Agent
Connect Config - Agent-side connection settings (used by the SDK FFI shims, not the gateway).
- Gateway
Config - Top-level gateway configuration loaded at startup.
- Local
Mode Config - Configuration for the in-process local-dev control plane.
- Postgres
Config - Connection pool and TimescaleDB knobs for the production Postgres
StorageBackend. - Redis
Config - Optional Redis policy / session cache.
- Remote
Mode Config - Configuration for the network-reachable remote control plane.
- Retention
Config - Hot / warm / cold audit-event lifecycle parameters.
- Sqlite
Config - Local-mode SQLite
StorageBackendsettings. - Storage
Config - Durable-persistence configuration for the gateway (Epic 18).
- Timescale
Config - TimescaleDB-specific knobs for the production Postgres backend.
- TlsConfig
- TLS material for the remote control plane listener.
Enums§
- Cold
Action - What to do with audit-event rows once they age past the
warm_daysboundary inRetentionConfig. - Config
Error - Errors that can occur while loading or parsing a
GatewayConfig. - Deployment
Mode - Which deployment topology the gateway should boot into.
- Storage
Backend Type - Which
StorageBackendimplementation the gateway should boot.