Documentation ¶
Index ¶
- func NewBuildCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewHistoryCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewImageCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewImagesCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewImportCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewLoadCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewPruneCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewPullCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewPushCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewRemoveCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewSaveCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewTagCommand(dockerCli *command.DockerCli) *cobra.Command
- func PushTrustedReference(cli *command.DockerCli, repoInfo *registry.RepositoryInfo, ref reference.Named, ...) error
- func RunPrune(dockerCli *command.DockerCli, all bool, filter opts.FilterOpt) (uint64, string, error)
- func TagTrusted(ctx context.Context, cli *command.DockerCli, trustedRef reference.Canonical, ...) error
- func TrustedReference(ctx context.Context, cli *command.DockerCli, ref reference.NamedTagged, ...) (reference.Canonical, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuildCommand ¶
NewBuildCommand creates a new `docker build` command
func NewHistoryCommand ¶
NewHistoryCommand creates a new `docker history` command
func NewImageCommand ¶
NewImageCommand returns a cobra command for `image` subcommands
func NewImagesCommand ¶
NewImagesCommand creates a new `docker images` command
func NewImportCommand ¶
NewImportCommand creates a new `docker import` command
func NewLoadCommand ¶
NewLoadCommand creates a new `docker load` command
func NewPruneCommand ¶
NewPruneCommand returns a new cobra prune command for images
func NewPullCommand ¶
NewPullCommand creates a new `docker pull` command
func NewPushCommand ¶
NewPushCommand creates a new `docker push` command
func NewRemoveCommand ¶
NewRemoveCommand creates a new `docker remove` command
func NewSaveCommand ¶
NewSaveCommand creates a new `docker save` command
func NewTagCommand ¶
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, filter opts.FilterOpt) (uint64, string, error)
RunPrune calls the Image Prune API This returns the amount of space reclaimed and a detailed output string
Types ¶
This section is empty.