type MetaAllocator …
type item …
var _ …
func NewMetaAllocator(
client networkingv1beta1client.NetworkingV1beta1Interface,
serviceCIDRInformer networkingv1beta1informers.ServiceCIDRInformer,
ipAddressInformer networkingv1beta1informers.IPAddressInformer,
isIPv6 bool,
bitmapAllocator Interface,
) (*MetaAllocator, error) { … }
func newMetaAllocator(client networkingv1beta1client.NetworkingV1beta1Interface,
serviceCIDRInformer networkingv1beta1informers.ServiceCIDRInformer,
ipAddressInformer networkingv1beta1informers.IPAddressInformer,
isIPv6 bool,
bitmapAllocator Interface,
) *MetaAllocator { … }
func (c *MetaAllocator) enqueueServiceCIDR(obj interface{ … }
func (c *MetaAllocator) deleteServiceCIDR(obj interface{ … }
func (c *MetaAllocator) run() { … }
func (c *MetaAllocator) runWorker() { … }
func (c *MetaAllocator) processNextItem() bool { … }
func (c *MetaAllocator) syncAllocators() error { … }
func (c *MetaAllocator) getAllocator(ip net.IP, ready bool) (*Allocator, error) { … }
func (c *MetaAllocator) AllocateService(service *api.Service, ip net.IP) error { … }
func (c *MetaAllocator) Allocate(ip net.IP) error { … }
func (c *MetaAllocator) AllocateNextService(service *api.Service) (net.IP, error) { … }
func (c *MetaAllocator) AllocateNext() (net.IP, error) { … }
func (c *MetaAllocator) Release(ip net.IP) error { … }
func (c *MetaAllocator) ForEach(f func(ip net.IP)) { … }
func (c *MetaAllocator) CIDR() net.IPNet { … }
func (c *MetaAllocator) IPFamily() api.IPFamily { … }
func (c *MetaAllocator) Has(ip net.IP) bool { … }
func (c *MetaAllocator) Destroy() { … }
func (c *MetaAllocator) Used() int { … }
func (c *MetaAllocator) Free() int { … }
func (c *MetaAllocator) EnableMetrics() { … }
func (c *MetaAllocator) DryRun() Interface { … }
func isReady(serviceCIDR *networkingv1beta1.ServiceCIDR) bool { … }
func convertToV1IPFamily(ipFamily netutils.IPFamily) v1.IPFamily { … }
func isNotContained(prefix netip.Prefix, prefixes []netip.Prefix) bool { … }