moved container functions into new mod

This commit is contained in:
2025-09-28 18:54:17 +02:00
parent 1f23c303c1
commit d2efc64487
6 changed files with 92 additions and 80 deletions

View File

@@ -98,4 +98,15 @@ pub struct Acknowledgment {
pub message_id: String,
pub status: String, // "success" or "error"
pub details: String,
}
#[derive(Debug, Serialize, Clone)]
pub struct DockerContainer {
pub ID: String,
pub image: String,
pub Name: String,
pub Status: String, // "running";"stopped";others
pub net_in: f64,
pub net_out: f64,
pub cpu_load: f64,
}