- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for StatusIsNot (0.09 sec)
-
staging/src/k8s.io/apiserver/pkg/server/httplog/httplog.go
rl.mutex.Lock() defer rl.mutex.Unlock() rl.logStacktracePred = pred return rl } // StatusIsNot returns a StacktracePred which will cause stacktraces to be logged // for any status *not* in the given list. func StatusIsNot(statuses ...int) StacktracePred { statusesNoTrace := map[int]bool{} for _, s := range statuses { statusesNoTrace[s] = true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 10:10:35 UTC 2023 - 9.7K bytes - Viewed (0) -
pkg/kubelet/server/server.go
func isLongRunningRequest(path string) bool { _, ok := longRunningRequestPathMap[path] return ok } var statusesNoTracePred = httplog.StatusIsNot( http.StatusOK, http.StatusFound, http.StatusMovedPermanently, http.StatusTemporaryRedirect, http.StatusBadRequest, http.StatusNotFound, http.StatusSwitchingProtocols, )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 40.1K bytes - Viewed (0)