- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toMatcher (0.14 sec)
-
pilot/pkg/networking/core/match/match_test.go
// fallback: chain leaf := NewSourceIP() leaf.Map["1.2.3.4"] = ToChain("chain") inner := NewDestinationIP() inner.OnNoMatch = ToMatcher(leaf.Matcher) root := NewDestinationPort() root.OnNoMatch = ToMatcher(inner.Matcher) return root }, want: func() *matcher.Matcher { // src port // 15001: chain want := NewSourceIP()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 3.5K bytes - Viewed (0) -
pilot/pkg/networking/core/match/match.go
Action: &xds.TypedExtensionConfig{ Name: name, TypedConfig: protoconv.MessageToAny(&wrappers.StringValue{Value: name}), }, }, } } func ToMatcher(match *matcher.Matcher) *matcher.Matcher_OnMatch { return &matcher.Matcher_OnMatch{ OnMatch: &matcher.Matcher_OnMatch_Matcher{ Matcher: match, }, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.2K bytes - Viewed (0)