Skip to main content

torrust_tracker_deployer_lib/infrastructure/
mod.rs

1//! Infrastructure Layer (DDD)
2//!
3//! This module contains infrastructure concerns including low-level command execution,
4//! external tool adapters, and repository-like implementations. The infrastructure layer
5//! provides technical capabilities and delivery mechanisms for the application layer.
6//!
7//! ## Components
8//!
9//! - `templating` - Template rendering and delivery mechanisms for deployment tools
10//!   - `ansible` - Ansible template generation and project structure
11//!   - `docker_compose` - Docker Compose template generation
12//!   - `tofu` - `OpenTofu` template generation and project structure
13//!   - `tracker` - Torrust Tracker configuration templates
14//! - `remote_actions` - SSH-based operations executed inside VMs
15//! - `external_validators` - E2E validation from outside VMs (HTTP health checks)
16//! - `persistence` - Persistence infrastructure (repositories, file locking, storage)
17//! - `trace` - Trace file generation for error analysis
18//! - `schema` - JSON Schema generation from Rust types
19//! - `cli_docs` - CLI JSON documentation generation from Clap structures
20//! - `dns` - DNS resolution for domain validation
21
22pub mod cli_docs;
23pub mod dns;
24pub mod external_validators;
25pub mod persistence;
26pub mod remote_actions;
27pub mod schema;
28pub mod templating;
29pub mod trace;