kubernetes/staging/src/k8s.io/apiserver/pkg/endpoints/discovery/version.go

type APIResourceLister

type APIResourceListerFunc

func (f APIResourceListerFunc) ListAPIResources() []metav1.APIResource {}

type APIVersionHandler

func NewAPIVersionHandler(serializer runtime.NegotiatedSerializer, groupVersion schema.GroupVersion, apiResourceLister APIResourceLister) *APIVersionHandler {}

func (s *APIVersionHandler) AddToWebService(ws *restful.WebService) {}

// handle returns a handler which will return the api.VersionAndVersion of the group.
func (s *APIVersionHandler) handle(req *restful.Request, resp *restful.Response) {}

func (s *APIVersionHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {}