podman_rest_client/v4/params/pod_list_libpod.rs
1#[derive(Default, Debug)]
2pub struct PodListLibpod<'a> {
3 /// JSON encoded value of the filters (a map[string][]string) to process on the pods list. Available filters:
4 /// - `id=<pod-id>` Matches all of pod id.
5 /// - `label=<key>` or `label=<key>:<value>` Matches pods based on the presence of a label alone or a label and a value.
6 /// - `name=<pod-name>` Matches all of pod name.
7 /// - `until=<timestamp>` List pods 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.
8 /// - `status=<pod-status>` Pod's status: `stopped`, `running`, `paused`, `exited`, `dead`, `created`, `degraded`.
9 /// - `network=<pod-network>` Name or full ID of network.
10 /// - `ctr-names=<pod-ctr-names>` Container name within the pod.
11 /// - `ctr-ids=<pod-ctr-ids>` Container ID within the pod.
12 /// - `ctr-status=<pod-ctr-status>` Container status within the pod.
13 /// - `ctr-number=<pod-ctr-number>` Number of containers in the pod.
14 pub filters: Option<&'a str>,
15}