package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

# Functions

New creates a new CIDR range allocator.
NewCIDRRangeAllocator returns a CIDRAllocator to allocate CIDRs for node (one from each of clusterCIDRs) Caller must ensure subNetMaskSize is not less than cluster CIDR mask size.

# Constants

CloudAllocatorType is the allocator that uses cloud platform support to do node CIDR range allocations.
IPAMFromCloudAllocatorType uses the ipam controller sync'ing the node CIDR range allocations from the cloud to the cluster.
IPAMFromClusterAllocatorType uses the ipam controller sync'ing the node CIDR range allocations from the cluster to the cloud.
RangeAllocatorType is the allocator that uses an internal CIDR range allocator to do node CIDR range allocations.

# Structs

CIDRAllocatorParams is parameters that's required for creating new cidr range allocator.
Timeout manages the resync loop timing for a given node sync operation.

# Interfaces

CIDRAllocator is an interface implemented by things that know how to allocate/occupy/recycle CIDR for nodes.

# Type aliases

CIDRAllocatorType is the type of the allocator to use.