rustploy 0.1.71

Rustploy PaaS daemon — lightweight self-hosted deployment platform
1
2
3
4
5
6
7
8
9
10
//! `Command::ServiceBackupList`: os backups de dados de um serviço no S3 e a última operação.

use crate::bootstrap::state::AppState;
use crate::protocol::Response;

pub async fn handle(state: AppState, service_id: String) -> Response {
    Response::ServiceBackups(
        crate::features::data_backup::service_backup::list(state.deploy_ctx(), &service_id).await,
    )
}