- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NewSourceIP (0.34 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() want.Map["1.2.3.4"] = ToChain("chain")
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
Map: m, }, }, }, }, OnNoMatch: nil, } return Mapper{Matcher: match, Map: m} } func NewDestinationIP() Mapper { return newMapper(DestinationIP) } func NewSourceIP() Mapper { return newMapper(SourceIP) } func NewDestinationPort() Mapper { return newMapper(DestinationPort) } type ProtocolMatch struct { TCP, HTTP *matcher.Matcher_OnMatch }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.2K bytes - Viewed (0)