Skip to main content

little_durable_objects/control_plane/
mod.rs

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