code: func (c *FakePodPresets) Update(podPreset *v1alpha1.PodPreset) (result *v1alpha1.PodPreset, err error) {
  	obj, err := c.Fake.
  		Invokes(testing.NewUpdateAction(podpresetsResource, c.ns, podPreset), &v1alpha1.PodPreset{})
  
  	if obj == nil {
  		return nil, err
  	}
  	return obj.(*v1alpha1.PodPreset), err
  }
docs: // Update takes the representation of a podPreset and updates it. Returns the server's representation of the podPreset, and an error, if there is any.