code: func (c *FakeEvents) PatchWithEventNamespace(event *v1.Event, data []byte) (*v1.Event, error) {
  	// TODO: Should be configurable to support additional patch strategies.
  	pt := types.StrategicMergePatchType
  	action := core.NewRootPatchAction(eventsResource, event.Name, pt, data)
  	if c.ns != "" {
  		action = core.NewPatchAction(eventsResource, c.ns, event.Name, pt, data)
  	}
  	obj, err := c.Fake.Invokes(action, event)
  	if obj == nil {
  		return nil, err
  	}
  
  	return obj.(*v1.Event), err
  }
docs: // PatchWithEventNamespace patches an existing event. Returns the copy of the event the server returns, or an error.
  // TODO: Should take a PatchType as an argument probably.