Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ruleExists (0.34 sec)

  1. pkg/proxy/nftables/proxier_test.go

    						Protocol: ptr.To(v1.ProtocolTCP),
    					}}
    				}),
    			)
    
    			fp.syncProxyRules()
    
    			element := nft.Table.Maps["service-ips"].FindElement(testCase.svcLBIP, "tcp", "80")
    			ruleExists := element != nil
    			if ruleExists != testCase.expectedRule {
    				t.Errorf("unexpected rule for %s", testCase.svcLBIP)
    			}
    		})
    	}
    }
    
    func Test_servicePortChainNameBase(t *testing.T) {
    	testCases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
Back to top