Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestGetNodeIPs (0.28 sec)

  1. pkg/proxy/util/nodeport_addresses_test.go

    		} else {
    			extra.Insert(str)
    		}
    	}
    	if len(notFound) != 0 || len(extra) != 0 {
    		return fmt.Errorf("not found: %v, extra: %v", notFound.UnsortedList(), extra.UnsortedList())
    	}
    	return nil
    }
    
    func TestGetNodeIPs(t *testing.T) {
    	type expectation struct {
    		matchAll bool
    		ips      sets.Set[string]
    	}
    
    	testCases := []struct {
    		name          string
    		cidrs         []string
    		itfAddrsPairs []InterfaceAddrsPair
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/proxier_test.go

    		err := CanUseIPVSProxier(ctx, ipvs, versioner, tc.scheduler)
    		if (err == nil) != tc.ok {
    			t.Errorf("Case [%s], expect %v, got err: %v", tc.name, tc.ok, err)
    		}
    	}
    }
    
    func TestGetNodeIPs(t *testing.T) {
    	testCases := []struct {
    		isIPv6       bool
    		devAddresses map[string][]string
    		expectIPs    []string
    	}{
    		// case 0
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
Back to top