mecha10-cli 0.1.47

Mecha10 CLI tool
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#![allow(dead_code)]

//! Docker service types

/// Information about Docker installation
#[derive(Debug, Clone)]
pub struct DockerInfo {
    pub version: String,
    pub compose_version: String,
}

/// Information about a running container
#[derive(Debug, Clone)]
pub struct ContainerInfo {
    pub name: String,
    pub status: String,
    pub ports: Option<String>,
}