moved container functions into new mod
This commit is contained in:
12
WatcherAgent/src/docker/mod.rs
Normal file
12
WatcherAgent/src/docker/mod.rs
Normal 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>,
|
||||
}
|
Reference in New Issue
Block a user