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