package
3.0.2+incompatible
Repository: https://github.com/daniil-ushkov/image.git
Documentation: pkg.go.dev
# Functions
GetAuthentication returns the registry credentials stored in either auth.json file or .docker/config.json If an entry is not found empty strings are returned for the username and password.
RemoveAllAuthentication deletes all the credentials stored in auth.json.
RemoveAuthentication deletes the credentials stored in auth.json.
SetAuthentication stores the username and password in the auth.json file.
# Variables
ErrNotLoggedIn is returned for users not logged into a registry that they are trying to logout of.
ErrNotSupported is returned for unsupported methods.