- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for MUX (0.03 sec)
-
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go
} } func TestInstallPathHandler(t *testing.T) { mux := http.NewServeMux() InstallPathHandler(mux, "/healthz/test") InstallPathHandler(mux, "/healthz/ready") req, err := http.NewRequest("GET", "http://example.com/healthz/test", nil) if err != nil { t.Fatalf("unexpected error: %v", err) } w := httptest.NewRecorder() mux.ServeHTTP(w, req) if w.Code != http.StatusOK {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 15 20:43:16 UTC 2023 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/healthz/healthz.go
// "/readyz" to mux. *All handlers* for mux must be specified in // exactly one call to InstallHandler. Calling InstallHandler more // than once for the same mux will result in a panic. func InstallReadyzHandler(mux mux, checks ...HealthChecker) { InstallPathHandler(mux, "/readyz", checks...) } // InstallLivezHandler registers handlers for liveness checking on the path // "/livez" to mux. *All handlers* for mux must be specified in
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 19:11:24 UTC 2024 - 10.5K bytes - Viewed (0) -
pilot/pkg/xds/debug.go
s.addDebugHandler(mux, internalMux, "/debug/edsz", "Status and debug interface for EDS", s.Edsz) s.addDebugHandler(mux, internalMux, "/debug/ndsz", "Status and debug interface for NDS", s.ndsz) s.addDebugHandler(mux, internalMux, "/debug/adsz", "Status and debug interface for ADS", s.adsz) s.addDebugHandler(mux, internalMux, "/debug/adsz?push=true", "Initiates push of the current state to all connected endpoints", s.adsz)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 39.5K bytes - Viewed (0) -
src/cmd/trace/main.go
{Type: traceviewer.ViewThread, Ranges: ranges}, })) // Catapult handlers. mux.Handle("/trace", traceviewer.TraceHandler()) mux.Handle("/jsontrace", JSONTraceHandler(parsed)) mux.Handle("/static/", traceviewer.StaticHandler()) // Goroutines handlers. mux.HandleFunc("/goroutines", GoroutinesHandlerFunc(parsed.summary.Goroutines)) mux.HandleFunc("/goroutine", GoroutineHandler(parsed.summary.Goroutines)) // MMU handler.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 10.4K bytes - Viewed (0) -
internal/grid/muxclient.go
fmt.Println("Client sending disconnect to mux", m.MuxID) } m.addErrorNonBlockingClose(errResp, context.Cause(m.ctx)) errState = true continue case <-pingTimer: if !m.doPing(errResp) { errState = true continue } case req, ok := <-requests: if !ok { // Done send EOF if debugPrint { fmt.Println("Client done, sending EOF to mux", m.MuxID) } msg := message{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 15.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/goaway_test.go
return }) mux := http.NewServeMux() mux.Handle(urlGet, WithProbabilisticGoaway(getHandler, 0)) mux.Handle(urlPost, WithProbabilisticGoaway(postHandler, 0)) mux.Handle(urlWatch, WithProbabilisticGoaway(watchHandler, 0)) mux.Handle(urlGetWithGoaway, WithProbabilisticGoaway(getHandler, 1)) mux.Handle(urlPostWithGoaway, WithProbabilisticGoaway(postHandler, 1))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 17 12:58:54 UTC 2021 - 13.9K bytes - Viewed (0) -
cmd/admin-handlers-idp-config.go
ctx := r.Context() objectAPI, cred := validateAdminReq(ctx, w, r, policy.ConfigUpdateAdminAction) if objectAPI == nil { return } idpCfgType := mux.Vars(r)["type"] cfgName := mux.Vars(r)["name"] password := cred.SecretKey if !madmin.ValidIDPConfigTypes.Contains(idpCfgType) { writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigInvalidIDPType), r.URL) return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.7K bytes - Viewed (0) -
internal/grid/connection.go
if debugReqs { _, found := c.outgoing.Load(client.MuxID) fmt.Println(client.MuxID, c.String(), "Connection.newMuxClient: RELOADED MUX. loaded:", loaded, "found:", found) } return client, nil } client.MuxID = atomic.AddUint64(&c.NextID, 1) } } // newMuxClient returns a mux client for manual use. func (c *Subroute) newMuxClient(ctx context.Context) (*muxClient, error) { cl, err := c.Connection.newMuxClient(ctx)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 44.8K bytes - Viewed (0) -
pkg/wasm/cache.go
checksums map[string]*checksumEntry // http fetcher fetches Wasm module with HTTP get. httpFetcher *HTTPFetcher // directory path used to store Wasm module. dir string // mux is needed because stale Wasm module files will be purged periodically. mux sync.Mutex // option sets for configurating the cache. cacheOptions // stopChan currently is only used by test stopChan chan struct{} } var _ Cache = &LocalFileCache{}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
pilot/cmd/pilot-agent/status/server.go
mux.HandleFunc("/app-health/", s.handleAppProbe) if s.enableProfiling { // Add the handler for pprof. mux.HandleFunc("/debug/pprof/", s.handlePprofIndex) mux.HandleFunc("/debug/pprof/cmdline", s.handlePprofCmdline) mux.HandleFunc("/debug/pprof/profile", s.handlePprofProfile) mux.HandleFunc("/debug/pprof/symbol", s.handlePprofSymbol) mux.HandleFunc("/debug/pprof/trace", s.handlePprofTrace) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 15:07:03 UTC 2024 - 31.1K bytes - Viewed (1)