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