- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PrefixRanges (0.12 sec)
-
pilot/pkg/simulation/traffic.go
return fc.GetDestinationPort() == nil }, func(fc *listener.FilterChainMatch) bool { return int(fc.GetDestinationPort().GetValue()) == input.Port }) chains = filter("PrefixRanges", chains, func(fc *listener.FilterChainMatch) bool { return fc.GetPrefixRanges() == nil }, func(fc *listener.FilterChainMatch) bool { ranger := cidranger.NewPCTrieRanger() for _, a := range fc.GetPrefixRanges() {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 19.4K bytes - Viewed (0) -
pilot/pkg/networking/core/listener.go
for _, d := range chain.destinationCIDRs { cidr := util.ConvertAddressToCidr(d) if cidr != nil && cidr.AddressPrefix != constants.UnspecifiedIP { match.PrefixRanges = append(match.PrefixRanges, cidr) } } } return match } func mergeTCPFilterChains(current *outboundListenerEntry, incoming []*filterChainOpts, opts outboundListenerOpts) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon May 06 04:44:06 UTC 2024 - 55.1K bytes - Viewed (0) -
pilot/pkg/networking/core/listener_test.go
t.Fatalf("expected %d listeners, found %d", 1, len(listeners)) } var chains []string for _, fc := range listeners[0].FilterChains { for _, cidr := range fc.FilterChainMatch.PrefixRanges { chains = append(chains, cidr.AddressPrefix) } } // There should not be multiple filter chains with same CIDR match if !reflect.DeepEqual(chains, tt.expectedChains) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 93.6K bytes - Viewed (0)