package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Functions
New creates a Range over a net.IPNet, calling allocatorFactory to construct the backing store.
NewFromSnapshot allocates a Range and initializes it from a snapshot.
NewInMemory creates an in-memory allocator.
NewIPAllocator returns an IP allocator associated to a network range that use the IPAddress objectto track the assigned IP addresses, using an informer cache as storage.
NewMetaAllocator returns an IP allocator that use the IPAddress and ServiceCIDR objects to track the assigned IP addresses, using an informer cache as storage.
# Structs
Allocator implements current ipallocator interface using IPAddress API object and an informer as backend.
MetaAllocator implements current allocator interface using ServiceCIDR and IPAddress API objects.
Range is a contiguous block of IPs that can be allocated atomically.
# Interfaces
Interface manages the allocation of IP addresses out of a range.