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