We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3d9905f + ff7111a commit 0f78de7Copy full SHA for 0f78de7
1 file changed
cli/command/registry.go
@@ -19,13 +19,6 @@ import (
19
"github.com/pkg/errors"
20
)
21
22
-// EncodeAuthToBase64 serializes the auth configuration as JSON base64 payload.
23
-//
24
-// Deprecated: use [registrytypes.EncodeAuthConfig] instead.
25
-func EncodeAuthToBase64(authConfig registrytypes.AuthConfig) (string, error) {
26
- return registrytypes.EncodeAuthConfig(authConfig)
27
-}
28
-
29
// RegistryAuthenticationPrivilegedFunc returns a RequestPrivilegeFunc from the specified registry index info
30
// for the given command.
31
func RegistryAuthenticationPrivilegedFunc(cli Cli, index *registrytypes.IndexInfo, cmdName string) types.RequestPrivilegeFunc {
0 commit comments