code: func LoadImageRegistryAuth(dockerCfg io.Reader) *AuthConfigurations {
  	auths, err := NewAuthConfigurations(dockerCfg)
  	if err != nil {
  		glog.V(0).Infof("error: Unable to load docker config: %v", err)
  		return nil
  	}
  	return auths
  }
docs: // LoadImageRegistryAuth loads and returns the set of client auth objects from
  // a docker config json file.