hydracache-server 0.70.0

Standalone production server daemon for HydraCache.
Documentation
//! Standalone HydraCache server bootstrap primitives.
//!
//! The crate keeps the first production daemon surface framework-neutral where
//! possible: configuration, validation, readiness, and graceful drain can be
//! tested without binding sockets. The binary wrapper wires these primitives to
//! process startup.

pub mod admin_http;
pub mod bootstrap;
pub mod cluster_status;
pub mod config;
mod grid_host;
pub mod hc2;
pub mod redis_tcp;
pub mod services;
pub mod upgrade;

pub use admin_http::{
    AdminDiagnosticResetReply, AdminHttpError, AdminHttpSurface, ADMIN_ACTUATOR_PATH,
    ADMIN_BACKUP_PATH, ADMIN_CLUSTER_OVERVIEW_PATH, ADMIN_CONSOLE_PATH,
    ADMIN_DIAGNOSTIC_RESET_PATH, ADMIN_DRAIN_PATH, ADMIN_HEALTHZ_PATH, ADMIN_METRICS_PATH,
    ADMIN_RAFT_COMPACTION_PATH, ADMIN_READYZ_PATH, ADMIN_RESHARD_PATH, ADMIN_STATUS_PATH,
};
pub use bootstrap::{
    RedisSurfaceDrain, ServerAdminAction, ServerAdminActionError, ServerAdminStatus, ServerHealth,
    ServerObservabilityModel, ServerReadiness, ServerRuntime, ServerState,
};
pub use cluster_status::{
    ClusterStatus, ClusterStatusProvider, ClusterStatusRuntime, GridControlPlaneHandle,
    LiveClusterStatus, MemberRole, MemberStatus, ModeledClusterStatus, RaftCompactionError,
    RaftCompactionStatus, Reachability, ReshardPhase, StatusSource,
};
pub use config::{
    AdminApiConfig, BackupConfig, ClientApiConfig, ClusterAuthConfig, ClusterStartMode,
    Hc2ClientPlaneConfig, RedisApiConfig, ServerConfig, ServerConfigError, ServerRole, TlsConfig,
};
pub use hc2::{serve_hc2_listener, Hc2ClientPlaneService, Hc2ListenerTls, Hc2ServeError};
pub use redis_tcp::{serve_redis_listener, RedisTcpError, RedisTlsAcceptor, RedisTlsError};
pub use services::{DrainOutcome, GracefulShutdown, ServiceSet};
pub use upgrade::{
    GracefulUpgrade, UpgradeError, UpgradePhase, UpgradePlan, UpgradeReport, UpgradeStrategy,
};