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

type GroupManager

type GroupLister

type rootAPIsHandler

func NewRootAPIsHandler(addresses Addresses, serializer runtime.NegotiatedSerializer) *rootAPIsHandler {}

func (s *rootAPIsHandler) AddGroup(apiGroup metav1.APIGroup) {}

func (s *rootAPIsHandler) RemoveGroup(groupName string) {}

func (s *rootAPIsHandler) Groups(ctx context.Context, req *http.Request) ([]metav1.APIGroup, error) {}

// groupsLocked returns the APIGroupList discovery information for this handler.
// The caller must hold the lock before invoking this method to avoid data races.
func (s *rootAPIsHandler) groupsLocked(ctx context.Context, req *http.Request) []metav1.APIGroup {}

func (s *rootAPIsHandler) ServeHTTP(resp http.ResponseWriter, req *http.Request) {}

func (s *rootAPIsHandler) restfulHandle(req *restful.Request, resp *restful.Response) {}

// WebService returns a webservice serving api group discovery.
// Note: during the server runtime apiGroups might change.
func (s *rootAPIsHandler) WebService() *restful.WebService {}