podman_client/
client.rs

1pub struct Client {
2    pub(crate) podman_base_url: &'static str,
3    socket_path: String,
4}
5
6impl Client {
7    pub fn new(socket_path: &str) -> Self {
8        Self {
9            podman_base_url: "http://d/v5.0.0",
10            socket_path: socket_path.to_owned(),
11        }
12    }
13
14    pub fn socket_path(&self) -> &str {
15        &self.socket_path
16    }
17}