code: func (s *endpointsLister) Endpoints(namespace string) EndpointsNamespaceLister {
  	return endpointsNamespaceLister{indexer: s.indexer, namespace: namespace}
  }
docs: // Endpoints returns an object that can list and get Endpoints.