reflex/lifecycle/
mod.rs

1//! Spot-instance lifecycle helpers for GCE (hydrate/dehydrate + idle reaper).
2
3pub mod cloud;
4/// Lifecycle configuration.
5pub mod config;
6/// Lifecycle error types.
7pub mod error;
8/// Factory helpers.
9pub mod factory;
10/// Lifecycle manager and reaper.
11pub mod manager;
12/// Result types for hydrate/dehydrate.
13pub mod types;
14
15#[cfg(test)]
16mod tests;
17
18pub use cloud::CloudOps;
19pub use config::{
20    DEFAULT_IDLE_TIMEOUT_SECS, DEFAULT_SNAPSHOT_FILENAME, LifecycleConfig,
21    REAPER_CHECK_INTERVAL_SECS,
22};
23pub use error::{LifecycleError, LifecycleResult};
24pub use factory::build_cloud_ops;
25pub use manager::{ActivityRecorder, LifecycleManager};
26pub use types::{DehydrationResult, HydrationResult};