Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NewPathRecorderMux (0.57 sec)

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

    type prefixHandler struct {
    	// prefix is the prefix to test for a request match
    	prefix string
    	// handler is used to satisfy matching requests
    	handler http.Handler
    }
    
    // NewPathRecorderMux creates a new PathRecorderMux
    func NewPathRecorderMux(name string) *PathRecorderMux {
    	ret := &PathRecorderMux{
    		name:            name,
    		pathToHandler:   map[string]http.Handler{},
    		prefixToHandler: map[string]http.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)
  2. cmd/kube-scheduler/app/server.go

    	pathRecorderMux := mux.NewPathRecorderMux("kube-scheduler")
    	healthz.InstallHandler(pathRecorderMux, healthzChecks...)
    	healthz.InstallLivezHandler(pathRecorderMux)
    	healthz.InstallReadyzHandler(pathRecorderMux, readyzChecks...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server.go

    }
    
    func serveMetrics(bindAddress string, proxyMode kubeproxyconfig.ProxyMode, enableProfiling bool, errCh chan error) {
    	if len(bindAddress) == 0 {
    		return
    	}
    
    	proxyMux := mux.NewPathRecorderMux("kube-proxy")
    	healthz.InstallHandler(proxyMux)
    	slis.SLIMetricsWithReset{}.Install(proxyMux)
    
    	proxyMux.HandleFunc("/proxyMode", func(w http.ResponseWriter, r *http.Request) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top