Files
Infrastruktur-Monitoring-Sy…/backend/crates/application/src/lib.rs
Dennis Nemec 51364fdd76 Discover applications on the cluster and the host for backups
Kubernetes workloads are grouped by their Helm instance label into
applications, each offering what is worth backing up: data volumes, a
PostgreSQL dump instead of the database's own volume, and optionally the
namespace manifests. Caches are listed but not preselected. Host
applications come from running systemd services that declare a state or
working directory. Selecting components creates one strategy each.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-03 20:50:11 +02:00

29 lines
955 B
Rust

//! Application layer: use cases orchestrating the domain through its ports.
pub mod auth_service;
pub mod backup_service;
pub mod cluster_service;
pub mod image_update_service;
pub mod inventory_service;
pub mod jobs;
pub mod scheduler;
pub mod settings_service;
pub mod upgrade_service;
pub mod user_service;
pub mod vuln_service;
pub use auth_service::AuthService;
pub use backup_service::{ApplicationBackupPlan, BackupDeps, BackupJob, BackupService};
pub use cluster_service::ClusterService;
pub use image_update_service::{ImageUpdateCheckJob, ImageUpdateService};
pub use inventory_service::{InventoryService, PackageRefreshJob};
pub use jobs::{JobHandler, JobLog, JobRunner};
pub use settings_service::SettingsService;
pub use upgrade_service::{PackageUpgradeJob, UpgradeParams};
pub use user_service::UserService;
pub use vuln_service::{VulnerabilityScanJob, VulnerabilityService};
#[cfg(test)]
pub(crate) mod test_fakes;
#[cfg(test)]
mod tests;