context

package
v28.5.0-rc.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 22 Imported by: 98

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContextCommand deprecated

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

NewContextCommand returns the context cli subcommand

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

func RunCreate deprecated

func RunCreate(dockerCLI command.Cli, o *CreateOptions) error

Deprecated: this function was for internal use and will be removed in the next release.

func RunExport deprecated

func RunExport(dockerCli command.Cli, opts *ExportOptions) error

RunExport exports a Docker context

Deprecated: this function was for internal use and will be removed in the next release.

func RunImport deprecated

func RunImport(dockerCLI command.Cli, name string, source string) error

RunImport imports a Docker context

Deprecated: this function was for internal use and will be removed in the next release.

func RunRemove deprecated