package registry
import "github.com/docker/cli/cli/command/registry"
Index ¶
- Constants
- func NewLoginCommand(dockerCLI command.Cli) *cobra.Command
- func NewLogoutCommand(dockerCli command.Cli) *cobra.Command
- func NewSearchCommand(dockerCli command.Cli) *cobra.Command
- func NewSearchFormat(source string) formatter.Format
- func SearchWrite(ctx formatter.Context, results []registrytypes.SearchResult) error
Constants ¶
const OauthLoginEscapeHatchEnvVar = "DOCKER_CLI_DISABLE_OAUTH_LOGIN"
Functions ¶
func NewLoginCommand ¶
NewLoginCommand creates a new `docker login` command
func NewLogoutCommand ¶
NewLogoutCommand creates a new `docker logout` command
func NewSearchCommand ¶
NewSearchCommand creates a new `docker search` command
func NewSearchFormat ¶
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
- js/wasm
- Imports
- 22 packages
- Last checked
- 3 hours ago –
Tools for package owners.