dbctl-core 0.1.0

A CLI tool to manage Dockerized databases like PostgreSQL, Redis, and MariaDB
Documentation
1
2
3
4
5
6
7
8
9
10
11
pub trait Database {
    fn name(&self) -> &str;
    fn image(&self) -> &str;
    fn port(&self) -> u16;
    fn env_vars(&self) -> Vec<(String, String)>;
    fn connection_url(&self) -> String;

    fn default() -> Self
    where
        Self: Sized;
}