code: func GetConfigFromFileOrDie(filename string) *clientcmdapi.Config {
  	config, err := getConfigFromFile(filename)
  	if err != nil {
  		klog.FatalDepth(1, err)
  	}
  
  	return config
  }
docs: // GetConfigFromFileOrDie tries to read a kubeconfig file and if it can't, it calls exit.  One exception, missing files result in empty configs, not an exit