code: func NewForConfig(c *unversioned.Config) (*CoreClient, error) {
  	config := *c
  	if err := setConfigDefaults(&config); err != nil {
  		return nil, err
  	}
  	client, err := unversioned.RESTClientFor(&config)
  	if err != nil {
  		return nil, err
  	}
  	return &CoreClient{client}, nil
  }
docs: // NewForConfig creates a new CoreClient for the given config.