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