- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for filterCIDRs (0.09 sec)
-
pkg/proxy/ipvs/proxier_test.go
var cidrList []string var cidrs []string var expected []string cidrs = filterCIDRs(true, []string{}) if len(cidrs) > 0 { t.Errorf("An empty list produces a non-empty return %v", cidrs) } cidrList = []string{"1000::/64", "10.0.0.0/16", "11.0.0.0/16", "2000::/64"} expected = []string{"1000::/64", "2000::/64"} cidrs = filterCIDRs(true, cidrList) if !reflect.DeepEqual(cidrs, expected) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0)