Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for HandlePrefix (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder_test.go

    		secretPrefixCount = secretPrefixCount + 1
    	}))
    	publicPrefixCount := 0
    	c.HandlePrefix("/publicPrefix/", http.HandlerFunc(func(http.ResponseWriter, *http.Request) {
    		publicPrefixCount = publicPrefixCount + 1
    	}))
    	precisePrefixCount := 0
    	c.HandlePrefix("/publicPrefix/but-more-precise/", http.HandlerFunc(func(http.ResponseWriter, *http.Request) {
    		precisePrefixCount = precisePrefixCount + 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 26 16:15:13 UTC 2017
    - 4.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go

    	m.UnlistedHandle(path, http.HandlerFunc(handler))
    }
    
    // HandlePrefix is like Handle, but matches for anything under the path.  Like a standard golang trailing slash.
    func (m *PathRecorderMux) HandlePrefix(path string, handler http.Handler) {
    	if !strings.HasSuffix(path, "/") {
    		panic(fmt.Sprintf("%q must end in a trailing slash", path))
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 01:52:15 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/apiserver.go

    		c.GenericConfig.MaxRequestBodyBytes,
    	)
    	if err != nil {
    		return nil, err
    	}
    	s.GenericAPIServer.Handler.NonGoRestfulMux.Handle("/apis", crdHandler)
    	s.GenericAPIServer.Handler.NonGoRestfulMux.HandlePrefix("/apis/", crdHandler)
    	s.GenericAPIServer.RegisterDestroyFunc(crdHandler.destroy)
    
    	aggregatedDiscoveryManager := genericServer.AggregatedDiscoveryGroupManager
    	if aggregatedDiscoveryManager != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 19 14:31:43 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top