code: func (c *FakeEvents) UpdateWithEventNamespace(event *v1.Event) (*v1.Event, error) {
  	action := core.NewRootUpdateAction(eventsResource, event)
  	if c.ns != "" {
  		action = core.NewUpdateAction(eventsResource, c.ns, event)
  	}
  	obj, err := c.Fake.Invokes(action, event)
  	if obj == nil {
  		return nil, err
  	}
  
  	return obj.(*v1.Event), err
  }
docs: // Update replaces an existing event. Returns the copy of the event the server returns, or an error.