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