little_durable_objects/control_plane/
mod.rs1mod admin;
2mod auth;
3mod client;
4mod event_sink;
5mod issuer;
6mod process;
7mod protocol;
8mod public_api;
9mod regions;
10mod service;
11mod socket_auth;
12mod websocket;
13
14use std::time::Duration;
15
16pub(crate) const SUPPORTED_CONTROL_PLANE_PAYLOAD_BYTES: usize = 16 * 1024 * 1024;
17pub(crate) const MAX_CONTROL_PLANE_MESSAGE_BYTES: usize = SUPPORTED_CONTROL_PLANE_PAYLOAD_BYTES;
18pub(crate) const CONTROL_PLANE_REQUEST_TIMEOUT: Duration = Duration::from_secs(30);
19
20#[cfg(test)]
21pub(crate) use self::auth::ActorInvocationCapability;
22pub use self::process::{
23 ControlPlaneProcessConfig, ControlPlaneStorageConfig, serve_control_plane,
24};
25pub(crate) use self::{
26 admin::PostgresAdminRegistry,
27 auth::{ActorJwtVerifier, ActorPrincipal, ActorTokenPurpose},
28 client::ControlPlaneClient,
29 issuer::ActorJwtIssuer,
30 service::ControlPlaneService,
31};