- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestHostMatcherWithRegex (0.23 sec)
-
pilot/pkg/security/authz/matcher/header_test.go
actual := HeaderMatcher(tc.K, tc.V) if !cmp.Equal(tc.Expect, actual, protocmp.Transform()) { t.Errorf("expecting %v, but got %v", tc.Expect, actual) } }) } } func TestHostMatcherWithRegex(t *testing.T) { testCases := []struct { Name string K string V string Expect *routepb.HeaderMatcher }{ { Name: "present match", K: ":authority", V: "*",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 17 22:42:11 UTC 2023 - 6.3K bytes - Viewed (0)