network

package
v20.10.5+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatWrite

func FormatWrite(ctx formatter.Context, networks []types.NetworkResource) error

FormatWrite writes the context

func NewFormat

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

NewFormat returns a Format for rendering using a network Context

func NewNetworkCommand

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

NewNetworkCommand returns a cobra command for `network` subcommands

func NewPruneCommand

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

NewPruneCommand returns a new cobra prune command for networks

func RunPrune

func RunPrune(dockerCli command.Cli, all 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