code: func (c *ingresses) DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error {
  	return c.client.Delete().
  		Namespace(c.ns).
  		Resource("ingresses").
  		VersionedParams(&listOptions, api.ParameterCodec).
  		Body(options).
  		Do().
  		Error()
  }
docs: // DeleteCollection deletes a collection of objects.