Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIPTablesRuleGeneration (0.18 sec)

  1. cni/pkg/plugin/plugin_dryrun_test.go

    func buildDryrunConf() string {
    	return fmt.Sprintf(
    		mockConfTmpl,
    		"1.0.0",
    		"1.0.0",
    		"eth0",
    		testSandboxDirectory,
    		filepath.Dir("/tmp"),
    		false,
    		"iptables",
    	)
    }
    
    func TestIPTablesRuleGeneration(t *testing.T) {
    	cniConf := buildDryrunConf()
    
    	customUID := int64(1000670000)
    	customGID := int64(1000670001)
    	zero := int64(0)
    
    	tests := []struct {
    		name        string
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Aug 27 16:44:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top