Documentation ¶
Index ¶
- Variables
- type Allocator
- func (a *Allocator) Allocate(claimRef v1alpha1.IPAddressClaimRef, ip netip.Addr) error
- func (a *Allocator) AllocateNext(claimRef v1alpha1.IPAddressClaimRef) (netip.Addr, error)
- func (a *Allocator) DryRun() Interface
- func (a *Allocator) IPFamily() corev1.IPFamily
- func (a *Allocator) Release(ip netip.Addr) error
- type Interface
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Allocator ¶
type Allocator struct {
// contains filtered or unexported fields
}
func New ¶
func New( prefix netip.Prefix, client v1alpha1client.CoreV1alpha1Interface, informer v1alpha1informers.IPAddressInformer, ) (*Allocator, error)
func (*Allocator) AllocateNext ¶
Click to show internal directories.
Click to hide internal directories.