feat(prune)!: Create prune command
This commit is contained in:
parent
879dca348c
commit
1671ea2143
13 changed files with 356 additions and 70 deletions
|
|
@ -36,6 +36,13 @@ pub struct PushOpts<'scope> {
|
|||
pub compression_type: Option<CompressionType>,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Builder)]
|
||||
#[cfg(feature = "prune")]
|
||||
pub struct PruneOpts {
|
||||
pub all: bool,
|
||||
pub volumes: bool,
|
||||
}
|
||||
|
||||
/// Options for building, tagging, and pusing images.
|
||||
#[allow(clippy::struct_excessive_bools)]
|
||||
#[derive(Debug, Clone, Builder)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue