Files
docker-cli/cli/registry/client/client_deprecated.go
Sebastiaan van Stijn 66c3dbdfed cli/registry/client: deprecate and move internal
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 13010ba673)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-08-19 22:37:33 +02:00

22 lines
995 B
Go

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