moved container functions into new mod
This commit is contained in:
@@ -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,
|
||||
}
|
Reference in New Issue
Block a user