docker_wrapper/template/redis.rs
1//! Redis template collection
2//!
3//! This module provides various Redis deployment templates:
4//! - Basic Redis for simple key-value storage
5//! - Redis Cluster for sharded deployments (future)
6//! - Redis Sentinel for high availability (future)
7//! - Redis Stack with modules (future)
8//! - Redis Enterprise with management UI (future)
9
10// Common utilities available to all Redis templates
11pub(crate) mod common;
12
13// Basic Redis template
14pub mod basic;
15pub use basic::RedisTemplate;
16
17// Redis Cluster template
18#[cfg(feature = "template-redis-cluster")]
19pub mod cluster;
20#[cfg(feature = "template-redis-cluster")]
21pub use cluster::{
22 ClusterInfo, ClusterNode, NodeInfo, NodeRole, RedisClusterConnection, RedisClusterTemplate,
23};
24
25// Redis Sentinel template
26pub mod sentinel;
27pub use sentinel::{RedisSentinelTemplate, SentinelConnectionInfo, SentinelInfo};
28
29// RedisInsight template
30pub mod insight;
31pub use insight::RedisInsightTemplate;
32
33// Redis Enterprise template
34#[cfg(feature = "template-redis-enterprise")]
35pub mod enterprise;
36#[cfg(feature = "template-redis-enterprise")]
37pub use enterprise::{RedisEnterpriseConnectionInfo, RedisEnterpriseTemplate};
38
39// #[cfg(feature = "template-redis-stack")]
40// pub mod stack;
41// #[cfg(feature = "template-redis-stack")]
42// pub use stack::RedisStackTemplate;
43
44// #[cfg(feature = "template-redis-enterprise")]
45// pub mod enterprise;
46// #[cfg(feature = "template-redis-enterprise")]
47// pub use enterprise::RedisEnterpriseTemplate;