Expand description
Shared modules used across different parts of the application
This module contains commonly used functionality that can be shared between different layers of the application, including infrastructure, e2e tests, and other components.
Re-exports§
pub use command::CommandError;pub use command::CommandExecutor;pub use command::CommandResult;pub use secrets::generate_random_password;
Modules§
- clock
- command
- Command execution utilities with error handling and logging
- docker_
image - Docker image reference value object
- domain_
name - error
- Error handling utilities
- secrets
- Secret wrapper types for sensitive data
- service_
endpoint - username
Structs§
- ApiToken
- A wrapper type for API tokens that prevents accidental exposure.
- Domain
Name - A validated domain name
- A validated email address
- Invalid
Service Endpoint Url - Error when creating a
ServiceEndpointwith an invalid URL - Password
- A wrapper type for passwords that prevents accidental exposure.
- Service
Endpoint - Represents a service endpoint for external validation testing
- System
Clock - System clock implementation using real system time
- Username
- A validated Linux system username following Linux naming requirements.
Enums§
- Domain
Name Error - Errors that can occur when parsing or validating a domain name
- Email
Error - Errors that can occur when creating an email address
- Error
Kind - Generic error categories for command failures
- Username
Error - Errors that can occur during username validation
Traits§
- Clock
- Clock trait for obtaining the current time
- Expose
Secret - Expose a reference to an inner secret
- Traceable
- Trait for errors that can generate detailed traces
Type Aliases§
- Plain
ApiToken - Plain API token used in DTOs for serialization/deserialization.
- Plain
Password - Plain password used in DTOs for serialization/deserialization.