Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Free ¶
Free inspects the DanmNet object received as an input, and releases an IPv4 or IPv6 address from the appropriate allocation pool The IP address liberation is represented by unsetting a bit in the network's BitArray type allocation matrix The refreshed DanmNet object is modified in the K8s API server at the end
func GarbageCollectIps ¶
func GarbageCollectIps(danmClient danmclientset.Interface, netInfo *danmtypes.DanmNet, ip4, ip6 string)
func Reserve ¶
func Reserve(danmClient danmclientset.Interface, netInfo danmtypes.DanmNet, req4, req6 string) (string, string, string, error)
Reserve inspects the DanmNet object received as an input, and allocates an IPv4 or IPv6 address from the appropriate allocation pool In case static IP allocation is requested, it will try reserver the requested error. If it is not possible, it returns an error The reserved IP address is represented by setting a bit in the network's BitArray type allocation matrix The refreshed DanmNet object is modified in the K8s API server at the end
Types ¶
This section is empty.