# Functions
ConfigDir returns the directory the configuration file is stored in.
DecodeAuth decodes a base64 encoded string and returns username and password.
EncodeAuth creates a base64 encoded string to containing authorization information.
LegacyLoadFromReader is a convenience function that creates a ConfigFile object from a non-nested reader.
Load reads the configuration files in the given directory, and sets up the auth config information and return values.
LoadFromReader is a convenience function that creates a ConfigFile object from a reader.
NewConfigFile initilizes an empty configuration file for the given filename 'fn'.
SetConfigDir sets the directory the configuration file is stored in.
# Constants
ConfigFileName is the name of config file.
# Structs
AuthConfig contains authorization information for connecting to a Registry.
ConfigFile ~/.docker/config.json file info.