Expand description
Application Command Handlers (Application Layer)
This module contains high-level application command handlers that orchestrate complete deployment workflows. These command handlers represent the primary use cases of the system and coordinate between domain services and infrastructure adapters.
Command handlers implement the Command Handler pattern and follow the three-level architecture: Command Handlers (Level 1) → Steps (Level 2) → Remote Actions (Level 3)
§Available Command Handlers
configure- Infrastructure configuration and software installationcreate- Environment creation and initializationdestroy- Infrastructure destruction and teardownexists- Check whether an environment exists (read-only)list- List all environments in the workspace (read-only)provision- Infrastructure provisioning usingOpenTofupurge- Remove all local environment dataregister- Register existing instances as alternative to provisioningrelease- Software release to target instances/// -render- Generate deployment artifacts without executing deployment//! -run- Stack execution on target instancesshow- Display environment information and status (read-only)test- Deployment testing and validationvalidate- Validate environment configuration files (read-only)
Each command handler encapsulates a complete business workflow, handling orchestration, error management, and coordination across multiple infrastructure services.
Re-exports§
pub use configure::ConfigureCommandHandler;pub use create::CreateCommandHandler;pub use destroy::DestroyCommandHandler;pub use exists::ExistsCommandHandler;pub use list::ListCommandHandler;pub use provision::ProvisionCommandHandler;pub use purge::handler::PurgeCommandHandler;pub use register::RegisterCommandHandler;pub use release::ReleaseCommandHandler;pub use render::RenderCommandHandler;pub use run::RunCommandHandler;pub use show::ShowCommandHandler;pub use test::TestCommandHandler;pub use validate::ValidateCommandHandler;
Modules§
- common
- Common utilities for command handlers
- configure
- Configure Command Module
- create
- Create Command Module
- destroy
- Destroy Command Module
- exists
- Exists Command Module
- list
- List Command Module
- provision
- Provision Command Module
- purge
- Purge Command Module
- register
- Register Command Module
- release
- Release Command Module
- render
- Render Command Module
- run
- Run Command Module
- show
- Show Command Module
- test
- Test Command Module
- validate
- Validate Command Handler Module