const maxReadLength …
type DockerConfigJSON …
type DockerConfig …
type DockerConfigEntry …
var preferredPathLock …
var preferredPath …
var workingDirPath …
var (
homeDirPath …
_ …
)
var rootDirPath …
var homeJSONDirPath …
var rootJSONDirPath …
var configFileName …
var configJSONFileName …
func SetPreferredDockercfgPath(path string) { … }
func GetPreferredDockercfgPath() string { … }
func DefaultDockercfgPaths() []string { … }
func DefaultDockerConfigJSONPaths() []string { … }
func ReadDockercfgFile(searchPaths []string) (cfg DockerConfig, err error) { … }
func ReadDockerConfigJSONFile(searchPaths []string) (cfg DockerConfig, err error) { … }
func ReadSpecificDockerConfigJSONFile(filePath string) (cfg DockerConfig, err error) { … }
func ReadDockerConfigFile() (cfg DockerConfig, err error) { … }
type HTTPError …
func (he *HTTPError) Error() string { … }
func ReadURL(url string, client *http.Client, header *http.Header) (body []byte, err error) { … }
func ReadDockerConfigFileFromBytes(contents []byte) (cfg DockerConfig, err error) { … }
func readDockerConfigJSONFileFromBytes(contents []byte) (cfg DockerConfig, err error) { … }
type dockerConfigEntryWithAuth …
func (ident *DockerConfigEntry) UnmarshalJSON(data []byte) error { … }
func (ident DockerConfigEntry) MarshalJSON() ([]byte, error) { … }
func decodeDockerConfigFieldAuth(field string) (username, password string, err error) { … }
func encodeDockerConfigFieldAuth(username, password string) string { … }