- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ToChain (0.09 sec)
-
pilot/pkg/networking/core/match/match_test.go
fallback := NewDestinationIP() fallback.Map["1.2.3.4"] = ToChain("chain") root := NewDestinationPort() root.OnNoMatch = ToMatcher(fallback.Matcher) return root }, want: func() *matcher.Matcher { // root (dest ip): // 1.2.3.4: chain // fallback becomes root want := NewDestinationIP() want.Map["1.2.3.4"] = ToChain("chain") return want.Matcher }, }, {
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/listener_waypoint.go
TCP: match.ToChain(tcpName), HTTP: match.ToChain(httpName), })) } else if port.Protocol.IsHTTP() { // Otherwise, just insert HTTP/TCP chains = append(chains, httpChain) portMapper.Map[portString] = match.ToChain(httpChain.Name) } else { chains = append(chains, tcpChain) portMapper.Map[portString] = match.ToChain(tcpChain.Name) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 27.6K bytes - Viewed (0) -
pilot/pkg/networking/core/match/match.go
m.Map["'h2c'"] = pm.HTTP m.Map["'http/1.1'"] = pm.HTTP if features.HTTP10 { m.Map["'http/1.0'"] = pm.HTTP } m.OnNoMatch = pm.TCP return m.Matcher } func ToChain(name string) *matcher.Matcher_OnMatch { return &matcher.Matcher_OnMatch{ OnMatch: &matcher.Matcher_OnMatch_Action{ Action: &xds.TypedExtensionConfig{ Name: name,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.2K bytes - Viewed (0)