code: func NewDefaultAuthenticationInfoResolver(kubeconfigFile string) (AuthenticationInfoResolver, error) {
  	if len(kubeconfigFile) == 0 {
  		return &defaultAuthenticationInfoResolver{}, nil
  	}
  
  	loadingRules := clientcmd.NewDefaultClientConfigLoadingRules()
  	loadingRules.ExplicitPath = kubeconfigFile
  	loader := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(loadingRules, &clientcmd.ConfigOverrides{})
  	clientConfig, err := loader.RawConfig()
  	if err != nil {
  		return nil, err
  	}
  
  	return &defaultAuthenticationInfoResolver{kubeconfig: clientConfig}, nil
  }
docs: // NewDefaultAuthenticationInfoResolver generates an AuthenticationInfoResolver
  // that builds rest.Config based on the kubeconfig file. kubeconfigFile is the
  // path to the kubeconfig.