support_kit/deployments/
deployment_control.rs

1
2
3
4
5
6
7
8
9
10
11
use rustls_acme::axum::AxumAcceptor;

use super::{DeploymentConfig, SecurityControl};

pub struct DeploymentControl;

impl DeploymentControl {
    pub async fn initialize(deployment_config: &DeploymentConfig) -> Option<AxumAcceptor> {
        SecurityControl::new(deployment_config).init().await
    }
}