1mod client_cleanup;
2mod gear_manager;
3mod grpc_installers;
4mod host_runtime;
5#[cfg(feature = "bootstrap")]
6mod oop_registration;
7#[cfg(feature = "bootstrap")]
8mod oop_serve;
9mod presence_manager;
10mod readiness;
11mod runner;
12mod system_context;
13
14pub mod shutdown;
16
17#[cfg(test)]
18mod client_cleanup_tests;
19#[cfg(test)]
20mod tests;
21
22pub use client_cleanup::{ClientCleanup, ClientCleanupError, ClientCleanupFuture};
23
24pub use gear_manager::{
25 Endpoint, GearInstance, GearManager, GrpcServiceNameConflict, InstanceState, ReportedState,
26};
27pub use grpc_installers::{GearInstallers, GrpcInstallerData, GrpcInstallerStore, LateBatch};
28pub use host_runtime::{
29 DEFAULT_INIT_DEADLINE, DEFAULT_SHUTDOWN_DEADLINE, DbOptions, HostRuntime,
30 TOOLKIT_DIRECTORY_ENDPOINT_ENV, TOOLKIT_MODULE_CONFIG_ENV,
31};
32#[cfg(feature = "bootstrap")]
36pub use oop_serve::{
37 OopRequestLimits, OopRequestLimitsError, OopServeOptions, inject_inbound_traceparent,
38};
39pub use presence_manager::{PresenceManager, ReportedStateSource};
40pub const PREPARATION_GATE: &str = "application/preparation";
43
44pub use readiness::{
45 DEFAULT_HEALTHCHECK_TIMEOUT, DependencyChecker, ReadinessHealthcheck, ReadinessLifecycle,
46 ReadinessReport, ReadinessState,
47};
48#[cfg(feature = "bootstrap")]
49pub use runner::run_oop_serving;
50pub use runner::{
51 ClientRegistration, OopGearSpawnConfig, OopSpawnOptions, RunOptions, ShutdownOptions, run,
52};
53pub use system_context::SystemContext;