code: func NewForConfig(c *rest.Config) (*Clientset, error) {
  	configShallowCopy := *c
  	if configShallowCopy.RateLimiter == nil && configShallowCopy.QPS > 0 {
  		configShallowCopy.RateLimiter = flowcontrol.NewTokenBucketRateLimiter(configShallowCopy.QPS, configShallowCopy.Burst)
  	}
  	var cs Clientset
  	var err error
  	cs.wardleV1alpha1, err = wardlev1alpha1.NewForConfig(&configShallowCopy)
  	if err != nil {
  		return nil, err
  	}
  	cs.wardleV1beta1, err = wardlev1beta1.NewForConfig(&configShallowCopy)
  	if err != nil {
  		return nil, err
  	}
  
  	cs.DiscoveryClient, err = discovery.NewDiscoveryClientForConfig(&configShallowCopy)
  	if err != nil {
  		return nil, err
  	}
  	return &cs, nil
  }
docs: // NewForConfig creates a new Clientset for the given config.