network

package
v28.5.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2025 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatWrite deprecated

func FormatWrite(fmtCtx formatter.Context, networks []network.Summary) error

FormatWrite writes the context

Deprecated: this function was only used internally and will be removed in the next release.

func NewFormat deprecated

func NewFormat(source string, quiet bool) formatter.Format

NewFormat returns a Format for rendering using a network Context.

Deprecated: this function was only used internally and will be removed in the next release.

func NewNetworkCommand deprecated

func NewNetworkCommand(dockerCLI command.Cli) *cobra.Command

NewNetworkCommand returns a cobra command for `network` subcommands

Deprecated: Do not import commands directly. They will be removed in a future release.

func NewPruneCommand deprecated

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

NewPruneCommand returns a new cobra prune command for networks

Deprecated: Do not import commands directly. They will be removed in a future release.

func RunPrune

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

RunPrune calls the Network 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