pub struct InfrastructureConfig {
pub provider: String,
pub network: Option<NetworkConfig>,
pub servers: Vec<ServerGroup>,
pub k3s: Option<K3sConfig>,
pub postgres: Option<PostgresConfig>,
pub rabbitmq: Option<RabbitMqConfig>,
pub vault: Option<VaultConfig>,
pub dns: Option<DnsConfig>,
pub gitlab: Option<GitLabConfig>,
pub load_balancer: Option<LoadBalancerConfig>,
}Expand description
Infrastructure configuration for all providers
Fields§
§provider: StringInfrastructure provider (e.g., “hetzner”, “aws”, “digitalocean”)
network: Option<NetworkConfig>Network configuration
servers: Vec<ServerGroup>Server groups defining infrastructure topology
k3s: Option<K3sConfig>K3s cluster configuration
postgres: Option<PostgresConfig>PostgreSQL configuration
rabbitmq: Option<RabbitMqConfig>RabbitMQ configuration
vault: Option<VaultConfig>Vault configuration
dns: Option<DnsConfig>DNS configuration
gitlab: Option<GitLabConfig>GitLab-specific configuration
load_balancer: Option<LoadBalancerConfig>Load balancer configuration
Trait Implementations§
Source§impl Clone for InfrastructureConfig
impl Clone for InfrastructureConfig
Source§fn clone(&self) -> InfrastructureConfig
fn clone(&self) -> InfrastructureConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InfrastructureConfig
impl Debug for InfrastructureConfig
Source§impl<'de> Deserialize<'de> for InfrastructureConfig
impl<'de> Deserialize<'de> for InfrastructureConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for InfrastructureConfig
impl Serialize for InfrastructureConfig
Source§impl Validate for InfrastructureConfig
impl Validate for InfrastructureConfig
Source§impl<'v_a> ValidateArgs<'v_a> for InfrastructureConfig
impl<'v_a> ValidateArgs<'v_a> for InfrastructureConfig
Auto Trait Implementations§
impl Freeze for InfrastructureConfig
impl RefUnwindSafe for InfrastructureConfig
impl Send for InfrastructureConfig
impl Sync for InfrastructureConfig
impl Unpin for InfrastructureConfig
impl UnwindSafe for InfrastructureConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more