Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ipt (0.01 sec)

  1. cmd/kube-proxy/app/server_linux.go

    	ipt := [2]utiliptables.Interface{
    		utiliptables.New(execer, utiliptables.ProtocolIPv4),
    		utiliptables.New(execer, utiliptables.ProtocolIPv6),
    	}
    
    	var iptInterface utiliptables.Interface
    	if primaryFamily == v1.IPv4Protocol {
    		iptInterface = ipt[0]
    	} else if primaryFamily == v1.IPv6Protocol {
    		iptInterface = ipt[1]
    	}
    
    	return ipt, iptInterface
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  2. pkg/proxy/iptables/number_generated_rules_test.go

    			epPerService:        10,
    			expectedFilterRules: 14,
    			expectedNatRules:    405,
    		},
    	}
    
    	for _, test := range testCases {
    		t.Run(test.name, func(t *testing.T) {
    			ipt := iptablestest.NewFake()
    			fp := NewFakeProxier(ipt)
    
    			svcs, eps := generateServiceEndpoints(test.services, test.epPerService, test.epsFunc, test.svcFunc)
    
    			makeServiceMap(fp, svcs...)
    			populateEndpointSlices(fp, eps...)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  3. pkg/util/iptables/iptables_test.go

    				func(cmd string, args ...string) exec.Cmd { return fakeexec.InitFakeCmd(&fcmd, cmd, args...) },
    			},
    		}
    		ipt := New(fexec, ProtocolIPv4)
    		runner := ipt.(*runner)
    		if testCase.Expected != runner.hasCheck {
    			t.Errorf("Expected result: %v, Got result: %v", testCase.Expected, runner.hasCheck)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 08 15:21:59 UTC 2023
    - 46.3K bytes
    - Viewed (0)
Back to top