image

package
v1.13.2-0...-c0b64be Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2020 License: Apache-2.0 Imports: 50 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBuildCommand

func NewBuildCommand(dockerCli *command.DockerCli) *cobra.Command

NewBuildCommand creates a new `docker build` command

func NewHistoryCommand

func NewHistoryCommand(dockerCli *command.DockerCli) *cobra.Command

NewHistoryCommand creates a new `docker history` command

func NewImageCommand

func NewImageCommand(dockerCli *command.DockerCli) *cobra.Command

NewImageCommand returns a cobra command for `image` subcommands

func NewImagesCommand

func NewImagesCommand(dockerCli *command.DockerCli) *cobra.Command

NewImagesCommand creates a new `docker images` command

func NewImportCommand

func NewImportCommand(dockerCli *command.DockerCli) *cobra.Command

NewImportCommand creates a new `docker import` command

func NewLoadCommand

func NewLoadCommand(dockerCli *command.DockerCli) *cobra.Command

NewLoadCommand creates a new `docker load` command

func NewPruneCommand

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

NewPruneCommand returns a new cobra prune command for images

func NewPullCommand

func NewPullCommand(dockerCli *command.DockerCli) *cobra.Command

NewPullCommand creates a new `docker pull` command

func NewPushCommand

func NewPushCommand(dockerCli *command.DockerCli) *cobra.Command

NewPushCommand creates a new `docker push` command

func NewRemoveCommand

func NewRemoveCommand(dockerCli *command.DockerCli) *cobra.Command

NewRemoveCommand creates a new `docker remove` command

func NewSaveCommand

func NewSaveCommand(dockerCli *command.DockerCli) *cobra.Command

NewSaveCommand creates a new `docker save` command

func NewTagCommand

func NewTagCommand(dockerCli *command.DockerCli) *cobra.Command

NewTagCommand creates a new `docker tag` command

func PushTrustedReference

func PushTrustedReference(cli *command.DockerCli, repoInfo *registry.RepositoryInfo, ref reference.Named, authConfig types.AuthConfig, in io.Reader) error

PushTrustedReference pushes a canonical reference to the trust server.

func RunPrune

func RunPrune(dockerCli *command.DockerCli, all bool) (uint64, string, error)

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

func TagTrusted

func TagTrusted(ctx context.Context, cli *command.DockerCli, trustedRef reference.Canonical, ref reference.NamedTagged) error

TagTrusted tags a trusted ref

func TrustedReference

TrustedReference returns the canonical trusted reference for an image reference

Types

This section is empty.

Jump to

Keyboard shortcuts

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