rustainers 0.15.1

A simple, opinionated way to run containers for tests.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

use crate::{ContainerHealth, ContainerId, ContainerStatus};

/// A compose service state
#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "PascalCase")]
pub struct ComposeServiceState {
    #[serde(alias = "ID")]
    pub(super) id: ContainerId,
    name: String,
    pub(super) service: String,
    state: ContainerStatus,
    health: ContainerHealth,
    exit_code: Option<i32>,
}