mirror of
https://github.com/docker/cli.git
synced 2026-11-06 13:10:41 -04:00
Provider, HubClient, and New were only used inside the package and by FakeCli. FakeCli now returns its configuration file as the auth provider, which is what the signed-out Docker Hub stub fell back to. NewDesktop returns an AuthProvider. Remove DockerCli.RegistryAuthProvider: EncodedRegistryAuth already falls back to RetrieveAuthTokenFromImage, which uses the Docker Desktop session, so the method only added to the public API. Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>