pub struct PodListLibpod<'a> {
pub filters: Option<&'a str>,
}
Available on crate feature
v4
only.Fields§
§filters: Option<&'a str>
JSON encoded value of the filters (a map[string][]string) to process on the pods list. Available filters:
id=<pod-id>
Matches all of pod id.label=<key>
orlabel=<key>:<value>
Matches pods based on the presence of a label alone or a label and a value.name=<pod-name>
Matches all of pod name.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.status=<pod-status>
Pod’s status:stopped
,running
,paused
,exited
,dead
,created
,degraded
.network=<pod-network>
Name or full ID of network.ctr-names=<pod-ctr-names>
Container name within the pod.ctr-ids=<pod-ctr-ids>
Container ID within the pod.ctr-status=<pod-ctr-status>
Container status within the pod.ctr-number=<pod-ctr-number>
Number of containers in the pod.
Trait Implementations§
Source§impl<'a> Debug for PodListLibpod<'a>
impl<'a> Debug for PodListLibpod<'a>
Source§impl<'a> Default for PodListLibpod<'a>
impl<'a> Default for PodListLibpod<'a>
Source§fn default() -> PodListLibpod<'a>
fn default() -> PodListLibpod<'a>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> Freeze for PodListLibpod<'a>
impl<'a> RefUnwindSafe for PodListLibpod<'a>
impl<'a> Send for PodListLibpod<'a>
impl<'a> Sync for PodListLibpod<'a>
impl<'a> Unpin for PodListLibpod<'a>
impl<'a> UnwindSafe for PodListLibpod<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more