Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UnlistedHandleFunc (0.44 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller_debug.go

    	// debugging dumps a CSV content for three levels of granularity
    	// 1. row per priority-level
    	c.UnlistedHandleFunc("/debug/api_priority_and_fairness/dump_priority_levels", cfgCtlr.dumpPriorityLevels)
    	// 2. row per queue
    	c.UnlistedHandleFunc("/debug/api_priority_and_fairness/dump_queues", cfgCtlr.dumpQueues)
    	// 3. row per request
    	c.UnlistedHandleFunc("/debug/api_priority_and_fairness/dump_requests", cfgCtlr.dumpRequests)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 17:38:43 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go

    	defer m.lock.Unlock()
    	m.trackCallers(path)
    
    	m.pathToHandler[path] = handler
    	m.refreshMuxLocked()
    }
    
    // UnlistedHandleFunc registers the handler function for the given pattern, but doesn't list it.
    // If a handler already exists for pattern, Handle panics.
    func (m *PathRecorderMux) UnlistedHandleFunc(path string, handler func(http.ResponseWriter, *http.Request)) {
    	m.UnlistedHandle(path, http.HandlerFunc(handler))
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 01:52:15 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top