torrust_tracker_deployer_lib/lib.rs
1//! Torrust Tracker Deployer
2//!
3//! Main library for torrust-tracker-deploy with complete DDD layer-based architecture.
4//!
5//! ## Architecture Layers
6//!
7//! - `domain` - Domain Layer: Pure business logic and domain models
8//! - `template` - Core template domain models and business logic
9//! - `application` - Application Layer: Use case orchestration and workflow coordination
10//! - `commands` - High-level deployment commands using Command pattern
11//! - `steps` - Workflow orchestration and business process steps
12//! - `infrastructure` - Infrastructure Layer: Technical capabilities and delivery mechanisms
13//! - `executor` - Low-level command execution utilities
14//! - `adapters` - External tool integration adapters (Ansible, LXD, `OpenTofu`, SSH)
15//! - `remote_actions` - Repository-like implementations for remote system operations
16//! - `ansible` - Ansible delivery mechanism and implementation details
17//! - `tofu` - `OpenTofu` delivery mechanism and implementation details
18//! - `template` - Template rendering delivery mechanisms (wrappers)
19//! - `presentation` - Presentation Layer: User-facing output and presentation concerns
20//!
21//! ## Other Modules
22//! - `adapters` - External tool adapters (thin CLI wrappers)
23//! - `bootstrap` - Application initialization and bootstrap concerns
24//! - `config` - Configuration management for deployment environments
25//! - `shared` - Shared modules used across different layers
26//! - `testing` - Testing utilities (unit, integration, and end-to-end)
27
28pub mod adapters;
29pub mod application;
30pub mod bootstrap;
31pub mod config;
32pub mod domain;
33pub mod infrastructure;
34pub mod presentation;
35pub mod shared;
36pub mod testing;