omni_orchestrator/schemas/v1/api/apps/mod.rs
1//! Application management module for handling CRUD operations on applications.
2//!
3//! This module provides a REST API for managing applications, including:
4//! - Listing applications
5//! - Creating new applications
6//! - Updating existing applications
7//! - Getting application details and statistics
8//! - Starting and stopping applications
9//! - Scaling applications
10//! - Deleting applications
11//! - Releasing new versions of applications
12
13// Import and re-export all route modules
14pub mod types;
15pub mod list;
16pub mod get;
17pub mod create;
18pub mod update;
19pub mod control;
20pub mod delete;
21pub mod release;
22pub mod instances;
23
24// Re-export types for easier access
25pub use types::*;
26
27// Re-export all route functions
28pub use list::{list_apps, count_apps};
29pub use get::{get_app, get_app_with_instances, get_app_stats};
30pub use create::create_app;
31pub use update::update_app;
32pub use control::{start_app, stop_app, scale_app};
33pub use delete::delete_app;
34pub use release::create_release;
35pub use instances::list_instances;
36