podman-rest-client 0.13.0

Interface for querying the podman REST API. Supports connections over SSH.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Default, Debug)]
pub struct ImagePruneLibpod<'a> {
    /// Remove all images not in use by containers, not just dangling ones
    pub all: Option<bool>,
    /// Remove images even when they are used by external containers (e.g, by build containers)
    pub external: Option<bool>,
    /// filters to apply to image pruning, encoded as JSON (map[string][]string). Available filters:
    ///   - `dangling=<boolean>` When set to `true` (or `1`), prune only
    ///      unused *and* untagged images. When set to `false`
    ///      (or `0`), all unused images are pruned.
    ///   - `until=<string>` Prune images created before this timestamp. The `<timestamp>` can be Unix timestamps, date formatted timestamps, or Go duration strings (e.g. `10m`, `1h30m`) computed relative to the daemon machine’s time.
    ///   - `label` (`label=<key>`, `label=<key>=<value>`, `label!=<key>`, or `label!=<key>=<value>`) Prune images with (or without, in case `label!=...` is used) the specified labels.
    pub filters: Option<&'a str>,
}