package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Apr 23, 2018
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
HostSet is a map of hosts (value is record type)
Store is a map of all IP addresses and their corresponding hostnames, netviews, and CIDRs
NewStore allocates a new store for the controller
func (st *Store) AddRecord(ip, host, recordType, netview, cidr string)
AddRecord adds/updates a record for an IP and hosts
DeleteHosts deletes hosts from records
GetIP returns the IP address for a given host
Source Files
¶
Click to show internal directories.
Click to hide internal directories.