- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for extraPrefixHeaders (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/authentication/request/headerrequest/requestheader_test.go
"k8s.io/apiserver/pkg/authentication/user" ) func TestRequestHeader(t *testing.T) { testcases := map[string]struct { nameHeaders []string groupHeaders []string extraPrefixHeaders []string requestHeaders http.Header finalHeaders http.Header expectedUser user.Info expectedOk bool }{ "empty": {}, "user no match": { nameHeaders: []string{"X-Remote-User"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 21 14:51:22 UTC 2023 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/filters/authentication_test.go
<-failed } func TestAuthenticateRequestClearHeaders(t *testing.T) { testcases := map[string]struct { nameHeaders []string groupHeaders []string extraPrefixHeaders []string requestHeaders http.Header finalHeaders http.Header }{ "user match": { nameHeaders: []string{"X-Remote-User"}, requestHeaders: http.Header{"X-Remote-User": {"Bob"}},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 20.5K bytes - Viewed (0)