Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for BigForIP (0.09 sec)

  1. pkg/proxy/iptables/number_generated_rules_test.go

    	endpointSlices := make([]*discovery.EndpointSlice, nServices)
    
    	// base parameters
    	basePort := 80
    	base := netutils.BigForIP(netutils.ParseIPSloppy("10.0.0.1"))
    
    	// generate a base endpoint slice object
    	baseEp := netutils.BigForIP(netutils.ParseIPSloppy("172.16.0.1"))
    	epPort := 8080
    
    	eps := &discovery.EndpointSlice{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "ep",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  2. pkg/registry/core/service/ipallocator/bitmap.go

    func New(cidr *net.IPNet, allocatorFactory allocator.AllocatorWithOffsetFactory) (*Range, error) {
    	max := netutils.RangeSize(cidr)
    	base := netutils.BigForIP(cidr.IP)
    	rangeSpec := cidr.String()
    	var family api.IPFamily
    
    	if netutils.IsIPv6CIDR(cidr) {
    		family = api.IPv6Protocol
    		// Limit the max size, since the allocator keeps a bitmap of that size.
    		if max > 65536 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  3. pkg/registry/core/service/ipallocator/bitmap_test.go

    				if u := r.Used(); u != expect {
    					t.Errorf("unexpected used count: got %d, wanted %d", u, expect)
    				}
    			}
    			expectUsed(t, r, baseUsed)
    
    			err = r.DryRun().Allocate(netutils.AddIPOffset(netutils.BigForIP(cidr.IP), 1))
    			if err != nil {
    				t.Fatalf("unexpected failure: %v", err)
    			}
    			expectUsed(t, r, baseUsed)
    
    			_, err = r.DryRun().AllocateNext()
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 21.1K bytes
    - Viewed (0)
Back to top