We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6bcc9ce + 29263e8 commit d8089e7Copy full SHA for d8089e7
cli/command/registry.go
@@ -36,6 +36,8 @@ const authConfigKey = "https://index.docker.io/v1/"
36
37
// RegistryAuthenticationPrivilegedFunc returns a RequestPrivilegeFunc from the specified registry index info
38
// for the given command to prompt the user for username and password.
39
+//
40
+// Deprecated: this function is no longer used and will be removed in the next release.
41
func RegistryAuthenticationPrivilegedFunc(cli Cli, index *registrytypes.IndexInfo, cmdName string) registrytypes.RequestAuthConfig {
42
configKey := getAuthConfigKey(index.Name)
43
isDefaultRegistry := configKey == authConfigKey || index.Official
0 commit comments