- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for allowAuthenticatedOrLocalhost (0.23 sec)
-
pilot/pkg/xds/debug.go
if internalMux != nil { internalMux.HandleFunc(path, handler) } // Add handler with auth; this is expose on an HTTP server mux.HandleFunc(path, s.allowAuthenticatedOrLocalhost(http.HandlerFunc(handler))) } func (s *DiscoveryServer) allowAuthenticatedOrLocalhost(next http.Handler) http.HandlerFunc { return func(w http.ResponseWriter, req *http.Request) { // Request is from localhost, no need to authenticate
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 39.5K bytes - Viewed (0)