Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for makeIPAllocator (0.11 sec)

  1. pkg/registry/core/service/storage/storage_test.go

    	for _, fam := range ipFamilies {
    		switch fam {
    		case api.IPv4Protocol:
    			_, cidr, _ := netutils.ParseCIDRSloppy("10.0.0.0/16")
    			ipAllocs[fam] = makeIPAllocator(cidr)
    		case api.IPv6Protocol:
    			_, cidr, _ := netutils.ParseCIDRSloppy("2000::/108")
    			ipAllocs[fam] = makeIPAllocator(cidr)
    		default:
    			t.Fatalf("Unknown IPFamily: %v", fam)
    		}
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
Back to top