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