package volume
import "github.com/docker/cli/cli/command/volume"
Index ¶
- func NewPruneCommand(dockerCli command.Cli) *cobra.Command
- func NewVolumeCommand(dockerCli command.Cli) *cobra.Command
- func RunPrune(dockerCli command.Cli, all bool, filter opts.FilterOpt) (uint64, string, error)
Functions ¶
func NewPruneCommand ¶
NewPruneCommand returns a new cobra prune command for volumes
func NewVolumeCommand ¶
NewVolumeCommand returns a cobra command for `volume` subcommands
func RunPrune ¶
RunPrune calls the Volume Prune API This returns the amount of space reclaimed and a detailed output string
Source Files ¶
cmd.go create.go inspect.go list.go prune.go remove.go
- Version
- v20.10.24+incompatible
- Published
- Mar 31, 2023
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 3 hours ago –
Tools for package owners.