code: func (e *events) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error {
  	return e.client.Delete().
  		NamespaceIfScoped(e.namespace, len(e.namespace) > 0).
  		Resource("events").
  		VersionedParams(&listOptions, api.Scheme).
  		Body(options).
  		Do().
  		Error()
  }
docs: // DeleteCollection deletes a collection of objects.