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::{Endpoint, GearInstance, GearManager, InstanceState};
19pub use grpc_installers::{GearInstallers, GrpcInstallerData, GrpcInstallerStore};
20pub use host_runtime::{
21 DEFAULT_SHUTDOWN_DEADLINE, DbOptions, HostRuntime, TOOLKIT_DIRECTORY_ENDPOINT_ENV,
22 TOOLKIT_MODULE_CONFIG_ENV,
23};
24#[cfg(feature = "bootstrap")]
28pub use oop_serve::OopServeOptions;
29pub use readiness::{
30 DEFAULT_HEALTHCHECK_TIMEOUT, DependencyChecker, ReadinessHealthcheck, ReadinessLifecycle,
31 ReadinessReport, ReadinessState,
32};
33#[cfg(feature = "bootstrap")]
34pub use runner::run_oop_serving;
35pub use runner::{
36 ClientRegistration, OopGearSpawnConfig, OopSpawnOptions, RunOptions, ShutdownOptions, run,
37};
38pub use system_context::SystemContext;