- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for headerKey (0.09 sec)
-
pkg/config/validation/virtualservice.go
func isInternalHeader(headerKey string) bool { return strings.HasPrefix(headerKey, ":") || strings.EqualFold(headerKey, "host") } // isAuthorityHeader returns true if a header refers to the authority header func isAuthorityHeader(headerKey string) bool { return strings.EqualFold(headerKey, ":authority") || strings.EqualFold(headerKey, "host")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 04:03:27 UTC 2024 - 9.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader.go
} } return "" } func allHeaderValues(h http.Header, headerNames []string) []string { ret := []string{} for _, headerName := range headerNames { headerKey := http.CanonicalHeaderKey(headerName) values, ok := h[headerKey] if !ok { continue } for _, headerValue := range values { if len(headerValue) > 0 { ret = append(ret, headerValue) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 18:19:54 UTC 2024 - 6.1K bytes - Viewed (0) -
pilot/pkg/leaderelection/leaderelection.go
// for these per-revision ones anyways, since the prioritization is about preferring one revision over others. config.KeyComparison = func(leaderKey string) bool { return LocationPrioritizedComparison(leaderKey, l) } } return k8sleaderelection.NewLeaderElector(config) } func LocationPrioritizedComparison(currentLeaderRevision string, l *LeaderElection) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 9.7K bytes - Viewed (0)