context

package
v23.0.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2023 License: Apache-2.0 Imports: 23 Imported by: 98

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContextCommand

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

NewContextCommand returns the context cli subcommand

func RunCreate

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

RunCreate creates a Docker context

func RunExport

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

RunExport exports a Docker context

func RunImport

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

RunImport imports a Docker context

func RunRemove

func RunRemove(dockerCli command.Cli, opts RemoveOptions, names []