volume

package
v27.3.1-patch2+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

FIXME(thaJeztah): remove once we are a module; the go:build directive prevents go from downgrading language version to go1.16:

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPruneCommand

func NewPruneCommand(dockerCli command.Cli) *cobra.Command

NewPruneCommand returns a new cobra prune command for volumes

func NewVolumeCommand

func NewVolumeCommand(dockerCli command.Cli) *cobra.Command

NewVolumeCommand returns a cobra command for `volume` subcommands

func RunPrune

func RunPrune(ctx context.Context, dockerCli command.Cli, _ bool, filter opts.FilterOpt) (uint64, string, error)

RunPrune calls the Volume Prune API This returns the amount of space reclaimed and a detailed output string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL