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

@@ -0,0 +1,12 @@
pub mod container;
//use std::error::Error;
use crate::models::DockerContainer;
#[derive(Debug, Clone)]
pub struct DockerInfo {
pub number: u16,
pub net_in_total: f64,
pub net_out_total: f64,
pub dockers: Vec<DockerContainer>,
}