Discover Packages
github.com/nordix/meridio
pkg
ipam
node
package
Version:
v1.0.8
Opens a new window with list of versions in this module.
Published: Jul 6, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
Documentation
¶
New is the constructor for the Node struct
prefix - prefix of the Node
store - storage for the prefix and its childs (target, LB, Bridge...)
prefixLengths - prefix length used to allocate the childs (target, LB, Bridge...)
Allocate returns the prefix with the name in parameter and with as parent the current node.
If not existing, a new one will be created and returned.
Release removes the prefix with the name in parameter and with as parent the current node.
no error is returned if the prefix does not exist.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.