Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewCIDRSet (0.13 sec)

  1. pkg/controller/nodeipam/ipam/range_allocator.go

    	// cidrSet are mapped to clusterCIDR by index
    	cidrSets := make([]*cidrset.CidrSet, len(allocatorParams.ClusterCIDRs))
    	for idx, cidr := range allocatorParams.ClusterCIDRs {
    		cidrSet, err := cidrset.NewCIDRSet(cidr, allocatorParams.NodeCIDRMaskSizes[idx])
    		if err != nil {
    			return nil, err
    		}
    		cidrSets[idx] = cidrSet
    	}
    
    	ra := &rangeAllocator{
    		client:       client,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 10:06:15 UTC 2024
    - 16.2K bytes
    - Viewed (0)
Back to top