Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for handledPaths (0.3 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/handler.go

    func (a *APIServerHandler) ListedPaths() []string {
    	var handledPaths []string
    	// Extract the paths handled using restful.WebService
    	for _, ws := range a.GoRestfulContainer.RegisteredWebServices() {
    		handledPaths = append(handledPaths, ws.RootPath())
    	}
    	handledPaths = append(handledPaths, a.NonGoRestfulMux.ListedPaths()...)
    	sort.Strings(handledPaths)
    
    	return handledPaths
    }
    
    type director struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jan 14 17:10:00 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go

    	return ret
    }
    
    // ListedPaths returns the registered handler exposedPaths.
    func (m *PathRecorderMux) ListedPaths() []string {
    	m.lock.Lock()
    	handledPaths := append([]string{}, m.exposedPaths...)
    	m.lock.Unlock()
    
    	sort.Strings(handledPaths)
    	return handledPaths
    }
    
    func (m *PathRecorderMux) trackCallers(path string) {
    	stack := string(debug.Stack())
    	if existingStack, ok := m.pathStacks[path]; ok {
    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