- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetHasRandomFully (0.22 sec)
-
pkg/proxy/ipvs/proxier_test.go
} }) } } func TestMasqueradeRule(t *testing.T) { for _, testcase := range []bool{false, true} { _, ctx := ktesting.NewTestContext(t) ipt := iptablestest.NewFake().SetHasRandomFully(testcase) ipvs := ipvstest.NewFake() ipset := ipsettest.NewFake(testIPSetVersion) fp := NewFakeProxier(ctx, ipt, ipvs, ipset, nil, nil, v1.IPv4Protocol) makeServiceMap(fp) fp.syncProxyRules()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 186.8K bytes - Viewed (0) -
pkg/proxy/iptables/proxier_test.go
} } func TestMasqueradeRule(t *testing.T) { for _, randomFully := range []bool{false, true} { t.Run(fmt.Sprintf("randomFully %t", randomFully), func(t *testing.T) { ipt := iptablestest.NewFake().SetHasRandomFully(randomFully) fp := NewFakeProxier(ipt) fp.syncProxyRules() expectedFmt := dedent.Dedent(` -A KUBE-POSTROUTING -m mark ! --mark 0x4000/0x4000 -j RETURN
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 14:39:54 UTC 2024 - 249.9K bytes - Viewed (0)