ipam

package
v3.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2019 License: BSD-3-Clause Imports: 14 Imported by: 4 modules, 14 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Free

func Free(danmClient danmclientset.Interface, netInfo danmtypes.DanmNet, ip string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL