code: func NewForConfig(c *unversioned.Config) (*Clientset, error) {
  	var clientset Clientset
  	var err error
  	clientset.CoreClient, err = unversionedcore.NewForConfig(c)
  	if err != nil {
  		return &clientset, err
  	}
  	clientset.ExtensionsClient, err = unversionedextensions.NewForConfig(c)
  	if err != nil {
  		return &clientset, err
  	}
  
  	clientset.DiscoveryClient, err = unversioned.NewDiscoveryClientForConfig(c)
  	if err != nil {
  		glog.Errorf("failed to create the DiscoveryClient: %v", err)
  	}
  	return &clientset, err
  }
docs: // NewForConfig creates a new Clientset for the given config.