cli/command: remove exported "RunPrune" functions
These are no longer used, and unlikely to be used externally. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@ -88,15 +88,6 @@ type cancelledErr struct{ error }
|
||||
|
||||
func (cancelledErr) Cancelled() {}
|
||||
|
||||
// RunPrune calls the Network Prune API
|
||||
// This returns the amount of space reclaimed and a detailed output string
|
||||
//
|
||||
// Deprecated: this function was only used internally and will be removed in the next release.
|
||||
func RunPrune(ctx context.Context, dockerCli command.Cli, _ bool, filter opts.FilterOpt) (uint64, string, error) {
|
||||
output, err := runPrune(ctx, dockerCli, pruneOptions{force: true, filter: filter})
|
||||
return 0, output, err
|
||||
}
|
||||
|
||||
// pruneFn calls the Network Prune API for use in "docker system prune"
|
||||
// and returns the amount of space reclaimed and a detailed output string.
|
||||
func pruneFn(ctx context.Context, dockerCLI command.Cli, options pruner.PruneOptions) (uint64, string, error) {
|
||||
|
||||
Reference in New Issue
Block a user