code: func (c *namespaces) Update(namespace *api.Namespace) (result *api.Namespace, err error) {
  	result = &api.Namespace{}
  	if len(namespace.ResourceVersion) == 0 {
  		err = fmt.Errorf("invalid update object, missing resource version: %v", namespace)
  		return
  	}
  	err = c.r.Put().Resource("namespaces").Name(namespace.Name).Body(namespace).Do().Into(result)
  	return
  }
docs: // Update takes the representation of a namespace to update.  Returns the server's representation of the namespace, and an error, if it occurs.