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