pub enum ImagePruneFilter {
Dangling(bool),
Until(String),
LabelKey(String),
LabelKeyVal(String, String),
NoLabelKey(String),
NoLabelKeyVal(String, String),
}
Expand description
Used to filter removed images.
Variants§
Dangling(bool)
When set to true, prune only unused and untagged images. When set to false, all unused images are pruned.
Until(String)
Prune images created before this timestamp. The
LabelKey(String)
Image with key label.
LabelKeyVal(String, String)
Image with key-value label.
NoLabelKey(String)
Image without key label.
NoLabelKeyVal(String, String)
Image without key-value label.
Trait Implementations§
Source§impl Debug for ImagePruneFilter
impl Debug for ImagePruneFilter
Source§impl Filter for ImagePruneFilter
impl Filter for ImagePruneFilter
fn query_item(&self) -> FilterItem
Auto Trait Implementations§
impl Freeze for ImagePruneFilter
impl RefUnwindSafe for ImagePruneFilter
impl Send for ImagePruneFilter
impl Sync for ImagePruneFilter
impl Unpin for ImagePruneFilter
impl UnwindSafe for ImagePruneFilter
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