Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RouteFunction (0.11 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    	return func(req *restful.Request, res *restful.Response) {
    		handlers.ListResource(r, rw, &scope, forceWatch, minRequestTimeout)(res.ResponseWriter, req.Request)
    	}
    }
    
    func restfulCreateNamedResource(r rest.NamedCreater, scope handlers.RequestScope, admit admission.Interface) restful.RouteFunction {
    	return func(req *restful.Request, res *restful.Response) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go

    // the go-restful RouteFunction instead of a HandlerFunc plus some Kubernetes endpoint specific information.
    func InstrumentRouteFunc(verb, group, version, resource, subresource, scope, component string, deprecated bool, removedRelease string, routeFunc restful.RouteFunction) restful.RouteFunction {
    	return restful.RouteFunction(func(req *restful.Request, response *restful.Response) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 35K bytes
    - Viewed (0)
  3. pkg/kubelet/server/stats/handler.go

    	h := &handler{provider, summaryProvider}
    
    	ws := &restful.WebService{}
    	ws.Path(rootPath).
    		Produces(restful.MIME_JSON)
    
    	endpoints := []struct {
    		path    string
    		handler restful.RouteFunction
    	}{
    		{"/summary", h.handleSummary},
    	}
    
    	for _, e := range endpoints {
    		for _, method := range []string{"GET", "POST"} {
    			ws.Route(ws.
    				Method(method).
    				Path(e.path).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 21:31:38 UTC 2023
    - 6.8K bytes
    - Viewed (0)
Back to top