code: func NewDiscoveryClientForConfig(c *Config) (*DiscoveryClient, error) {
  	config := *c
  	if err := setDiscoveryDefaults(&config); err != nil {
  		return nil, err
  	}
  	client, err := UnversionedRESTClientFor(&config)
  	return &DiscoveryClient{client}, err
  }
docs: // NewDiscoveryClientForConfig creates a new DiscoveryClient for the given config. This client
  // can be used to discover supported resources in the API server.