package registry

import "github.com/docker/cli/cli/command/registry"

Index

Constants

const OauthLoginEscapeHatchEnvVar = "DOCKER_CLI_DISABLE_OAUTH_LOGIN"

Functions

func NewLoginCommand

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

NewLoginCommand creates a new `docker login` command

func NewLogoutCommand

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

NewLogoutCommand creates a new `docker logout` command

func NewSearchCommand

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

NewSearchCommand creates a new `docker search` command

func NewSearchFormat

func NewSearchFormat(source string) formatter.Format

NewSearchFormat returns a Format for rendering using a network Context

func SearchWrite

func SearchWrite(ctx formatter.Context, results []registrytypes.SearchResult) error

SearchWrite writes the context

Source Files

formatter_search.go login.go logout.go search.go

Version
v28.0.3+incompatible
Published
Mar 25, 2025
Platform
linux/amd64
Imports
22 packages
Last checked
1 minute ago

Tools for package owners.