image

package
v28.5.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 59 Imported by: 705

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthResolver deprecated

func AuthResolver(dockerCLI config.Provider) func(ctx context.Context, index *registrytypes.IndexInfo) registrytypes.AuthConfig

AuthResolver returns an auth resolver function from a config.Provider.

Deprecated: this function was only used internally and will be removed in the next release.

func HistoryWrite deprecated

func HistoryWrite(fmtCtx formatter.Context, human bool, histories []image.HistoryResponseItem) error

HistoryWrite writes the context

Deprecated: this function was only used internally and will be removed in the next release.

func NewBuildCommand deprecated

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

NewBuildCommand creates a new `docker build` command

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

func NewHistoryCommand deprecated

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

NewHistoryCommand creates a new `docker history` command

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

func NewHistoryFormat deprecated

func NewHistoryFormat(source string, quiet bool, human bool) formatter.Format

NewHistoryFormat returns a format for rendering an HistoryContext

Deprecated: this function was only used internally and will be removed in the next release.

func NewImageCommand deprecated

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

NewImageCommand returns a cobra command for `image` subcommands

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

func NewImagesCommand deprecated

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

NewImagesCommand creates a new `docker images` command

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

func NewImportCommand deprecated

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

NewImportCommand creates a new `docker import` command

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

func NewLoadCommand deprecated

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

NewLoadCommand creates a new `docker load` command

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

func NewPruneCommand deprecated

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

NewPruneCommand returns a new cobra prune command for images

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

func NewPullCommand deprecated

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

NewPullCommand creates a new `docker pull` command

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

func NewPushCommand deprecated

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

NewPushCommand creates a new `docker push` command

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

func NewRemoveCommand deprecated

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

NewRemoveCommand creates a new `docker remove` command

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

func NewSaveCommand deprecated

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

NewSaveCommand creates a new `docker save` command

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

func NewTagCommand deprecated

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

NewTagCommand creates a new `docker tag` command

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

func RunPrune

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

func TrustedReference

func TrustedReference(ctx context.Context, cli command.Cli, ref reference.NamedTagged) (reference.Canonical, error)

TrustedReference returns the canonical trusted reference for an image reference

Types

This section is empty.

Directories

Path Synopsis
internal/urlutil
Package urlutil provides helper function to check if a given build-context location should be considered a URL or a remote Git repository.
Package urlutil provides helper function to check if a given build-context location should be considered a URL or a remote Git repository.

Jump to

Keyboard shortcuts

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