code: func RESTConfigFromKubeConfig(configBytes []byte) (*restclient.Config, error) {
  	clientConfig, err := NewClientConfigFromBytes(configBytes)
  	if err != nil {
  		return nil, err
  	}
  	return clientConfig.ClientConfig()
  }
docs: // RESTConfigFromKubeConfig is a convenience method to give back a restconfig from your kubeconfig bytes.
  // For programmatic access, this is what you want 80% of the time