1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

remove deprecated cli/registry/client package

This package was deprecated in 13010ba673,
and only used internally. The deprecation was included in the 28.4 release,
and there's no known external users, so we can remove it for v29.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2025-09-23 21:21:31 +02:00
parent e241f53ebc
commit 3cf005ec91

View File

@@ -1,21 +0,0 @@
package client // Deprecated: this package was only used internally and will be removed in the next release.
import "github.com/docker/cli/internal/registryclient"
// RegistryClient is a client used to communicate with a Docker distribution
// registry.
//
// Deprecated: this interface was only used internally and will be removed in the next release.
type RegistryClient = registryclient.RegistryClient
// NewRegistryClient returns a new RegistryClient with a resolver
//
// Deprecated: this function was only used internally and will be removed in the next release.
func NewRegistryClient(resolver registryclient.AuthConfigResolver, userAgent string, insecure bool) registryclient.RegistryClient {
return registryclient.NewRegistryClient(resolver, userAgent, insecure)
}
// AuthConfigResolver returns Auth Configuration for an index
//
// Deprecated: this type was only used internally and will be removed in the next release.
type AuthConfigResolver = registryclient.AuthConfigResolver