Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for eth0 (0.25 sec)

  1. .github/workflows/codeql-analysis.yml

            if: ${{ matrix.language == 'java' }}
    
        - name: Disable checksum offloading
          # See: https://github.com/actions/virtual-environments/issues/1187#issuecomment-686735760
          run: sudo ethtool -K eth0 tx off rx off
    
        # Install and setup JDK 11
        - name: Setup JDK 11
          uses: actions/setup-java@v4
          with:
            distribution: temurin
            java-version: 11
    
    Others
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Thu May 02 09:13:16 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_dryrun_test.go

    	return func(nspath string) (ns.NetNS, error) {
    		return &mockNetNs{path: netNs}, nil
    	}
    }
    
    func buildDryrunConf() string {
    	return fmt.Sprintf(
    		mockConfTmpl,
    		"1.0.0",
    		"1.0.0",
    		"eth0",
    		testSandboxDirectory,
    		"",
    		false,
    		"iptables",
    	)
    }
    
    func TestIPTablesRuleGeneration(t *testing.T) {
    	cniConf := buildDryrunConf()
    
    	customUID := int64(1000670000)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  3. cmd/net_test.go

    	}{
    		{"localhost", false},
    		{"localhost:9000", false},
    		{"example.com", false},
    		{"http://192.168.1.0", false},
    		{"http://192.168.1.0:9000", false},
    		{"192.168.1.0", true},
    		{"[2001:3984:3989::20%eth0]:9000", true},
    	}
    
    	for _, testCase := range testCases {
    		ret := isHostIP(testCase.args)
    		if testCase.expectedResult != ret {
    			t.Fatalf("expected: %v , got: %v", testCase.expectedResult, ret)
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 08:43:09 GMT 2024
    - 9.3K bytes
    - Viewed (0)
Back to top