code: func (c *foos) Update(foo *v1alpha1.Foo) (result *v1alpha1.Foo, err error) {
  	result = &v1alpha1.Foo{}
  	err = c.client.Put().
  		Namespace(c.ns).
  		Resource("foos").
  		Name(foo.Name).
  		Body(foo).
  		Do().
  		Into(result)
  	return
  }
docs: // Update takes the representation of a foo and updates it. Returns the server's representation of the foo, and an error, if there is any.