code: func (c *FakeEndpoints) Create(endpoints *corev1.Endpoints) (result *corev1.Endpoints, err error) {
  	obj, err := c.Fake.
  		Invokes(testing.NewCreateAction(endpointsResource, c.ns, endpoints), &corev1.Endpoints{})
  
  	if obj == nil {
  		return nil, err
  	}
  	return obj.(*corev1.Endpoints), err
  }
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.