Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindCleanFlags ¶ added in v1.4.1
func BindCleanFlags(cmd *cobra.Command, flags *CleanFlags)
BindCleanFlags binds clean command flags
func BindRunFlags ¶
BindRunFlags binds run-specific flags to the command
Types ¶
type CleanFlags ¶ added in v1.4.1
type CleanFlags struct {
All bool // Remove all resources (containers, volumes, cache)
Images bool // Also remove unused images (with 24h safety filter)
PruneImages bool // Remove ALL images (no filter, aggressive)
DryRun bool // Show what would be removed without action
Force bool // Skip confirmation prompt
}
CleanFlags represents the clean command flags
Click to show internal directories.
Click to hide internal directories.