oxker 0.13.0

A simple tui to view & control docker containers
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::sync::Arc;

use crate::app_data::{ContainerId, DockerCommand};
use bollard::Docker;
use tokio::sync::oneshot::Sender;

#[derive(Debug)]
pub enum DockerMessage {
    ConfirmDelete(ContainerId),
    Control((DockerCommand, ContainerId)),
    Exec(Sender<Arc<Docker>>),
    Inspect(ContainerId),
    Update,
}