Versions in this module Expand all Collapse all v0 v0.2.1 Oct 25, 2024 v0.2.0 Oct 14, 2024 Changes in this version + func SlotsPerIP(portsPerNetworkInterface int32) int32 + type AllocationManager struct + func NewAllocationManager(portsPerNetworkInterface int32, ips []net.IP) *AllocationManager + func (m *AllocationManager) HasIP(ip net.IP) bool + func (m *AllocationManager) Total() int64 + func (m *AllocationManager) Use(ip net.IP, port, endPort int32) bool + func (m *AllocationManager) UseNextFree() (ip net.IP, port, endPort int32, ok bool) + func (m *AllocationManager) Used() int64 + type AutoscalerSelectors struct + func NewAutoscalerSelectors() *AutoscalerSelectors + func (m *AutoscalerSelectors) Delete(key client.ObjectKey) + func (m *AutoscalerSelectors) Put(key client.ObjectKey, sel NetworkSelector) + func (m *AutoscalerSelectors) PutIfNotPresent(key client.ObjectKey, sel NetworkSelector) + func (m *AutoscalerSelectors) ReverseSelect(name string) sets.Set[client.ObjectKey] + type NetworkSelector interface + MatchesNetwork func(name string) bool + func NoVNISelector() NetworkSelector + func SelectNetwork(name string) NetworkSelector