moved stats into own folder
Some checks failed
Rust Cross-Platform Build / Detect Rust Project (push) Successful in 4s
Rust Cross-Platform Build / Run Tests (push) Failing after 1m9s
Rust Cross-Platform Build / Build (x86_64-unknown-linux-gnu) (push) Has been skipped
Rust Cross-Platform Build / Build (x86_64-pc-windows-gnu) (push) Has been skipped
Rust Cross-Platform Build / Set Tag Name (push) Has been skipped
Rust Cross-Platform Build / Build and Push Docker Image (push) Has been skipped
Rust Cross-Platform Build / Create Tag (push) Has been skipped
Rust Cross-Platform Build / Workflow Summary (push) Successful in 2s
Some checks failed
Rust Cross-Platform Build / Detect Rust Project (push) Successful in 4s
Rust Cross-Platform Build / Run Tests (push) Failing after 1m9s
Rust Cross-Platform Build / Build (x86_64-unknown-linux-gnu) (push) Has been skipped
Rust Cross-Platform Build / Build (x86_64-pc-windows-gnu) (push) Has been skipped
Rust Cross-Platform Build / Set Tag Name (push) Has been skipped
Rust Cross-Platform Build / Build and Push Docker Image (push) Has been skipped
Rust Cross-Platform Build / Create Tag (push) Has been skipped
Rust Cross-Platform Build / Workflow Summary (push) Successful in 2s
This commit is contained in:
@@ -221,17 +221,17 @@ pub struct DockerMetricDto {
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Clone)]
|
||||
pub struct DockerContainer {
|
||||
pub id: String,
|
||||
pub status: String, // "running";"stopped";others
|
||||
pub image: String,
|
||||
pub name: String,
|
||||
pub network: stats::ContainerNetworkInfo,
|
||||
pub cpu: stats::ContainerCpuInfo,
|
||||
//pub ram: stats::ContainerRamInfo,
|
||||
pub struct DockerContainerInfo {
|
||||
pub container: Option<DockerContainer>,
|
||||
pub status: Option<String>, // "running";"stopped";others
|
||||
pub network: Option<stats::ContainerNetworkInfo>,
|
||||
pub cpu: Option<stats::ContainerCpuInfo>,
|
||||
pub ram: Option<stats::ContainerMemoryInfo>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Serialize, Clone)]
|
||||
pub struct Docker {
|
||||
pub containers: Vec<DockerContainer>,
|
||||
pub struct DockerContainer {
|
||||
pub id: String,
|
||||
pub image: Option<String>,
|
||||
pub name: Option<String>,
|
||||
}
|
Reference in New Issue
Block a user