code: func (configFile *ConfigFile) LoadFromReader(configData io.Reader) error {
  	if err := json.NewDecoder(configData).Decode(&configFile); err != nil {
  		return err
  	}
  	var err error
  	for addr, ac := range configFile.AuthConfigs {
  		ac.Username, ac.Password, err = decodeAuth(ac.Auth)
  		if err != nil {
  			return err
  		}
  		ac.Auth = ""
  		ac.ServerAddress = addr
  		configFile.AuthConfigs[addr] = ac
  	}
  	return checkKubernetesConfiguration(configFile.Kubernetes)
  }
docs: // LoadFromReader reads the configuration data given and sets up the auth config
  // information with given directory and populates the receiver object