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