code: func (e *events) Create(event *api.Event) (*api.Event, error) {
  	if e.namespace != "" && event.Namespace != e.namespace {
  		return nil, fmt.Errorf("can't create an event with namespace '%v' in namespace '%v'", event.Namespace, e.namespace)
  	}
  	result := &api.Event{}
  	err := e.client.Post().
  		Namespace(event.Namespace).
  		Resource("events").
  		Body(event).
  		Do().
  		Into(result)
  	return result, err
  }
docs: // Create makes a new event. Returns the copy of the event the server returns,
  // or an error. The namespace to create the event within is deduced from the
  // event; it must either match this event client's namespace, or this event
  // client must have been created with the "" namespace.