code: func (c *endpoints) Create(endpoints *api.Endpoints) (result *api.Endpoints, err error) {
  	result = &api.Endpoints{}
  	err = c.client.Post().
  		Namespace(c.ns).
  		Resource("endpoints").
  		Body(endpoints).
  		Do().
  		Into(result)
  	return
  }
docs: // Create takes the representation of a endpoints and creates it.  Returns the server's representation of the endpoints, and an error, if there is any.