package
2.2.0+incompatible
Repository: https://github.com/ccsnake/maestro.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
AppendDNSResolver will find the resolver info, and append it to the dnsFileBuffer bytes.Buffer.
Clear all address on an interface, with exception of exception list.
This is the go routine which waits on jobConfigApplyRequestChan and when itreceives an updated config it submits the config and sets up the interfaces basedon new configuration.
This is the go routine which waits on configChangeRequestChan and when itreceives a message which is ConfigChangeInfo object, it calls correspondingprocess functions(see below) based on config group.
GetFreshDhcpLease requests a new lease, without using any existing lease information.
No description provided by the author
GetInterfaceIndexAndName lets you pass in either an ifname string, with the network interface name, or a valid index.
GetInterfaceLink lets you pass in either an ifname string, with the network interface name, or a valid index.
No description provided by the author
GetLastEventsForSubscriber returns the latest events available for the subscriber ID if valid is false, then the subscriber is expired.
No description provided by the author
GetNeteventsID returns the string ID used to reference network events in the event manager,.
InitNetworkManager be called on startup.
InitRebootDhcpLease asks the DHCP server to confirm it's IP and provide new options.
No description provided by the author
ReleaseFromServer will release the DHCP lease to the server for the given interface NOT IMPLEMENTED.
RemoveDefaultRoute removes the default route from the default routing table To understand "default table" - read more here: https://www.thomas-krenn.com/en/wiki/Two_Default_Gateways_on_One_System.
*
* RenewFromServer renews from the server directy - a packet sent direct to the server, vs.
RequestOrRenewDhcpLease Gets a new DCHP address, based on an existing lease, if one exists.
SetInterfaceMacAddress sets the mac address.
SetupDefaultRouteFromLease sets a default route based on the ifconfig information and/or the DhcpLeaseInfo If the ifconfig has a provided default gateway, this will be used, otherwise the DhcpLeaseInfo's default gateway will be provided.
No description provided by the author
SetupStaticInterfaces sets up static interfaces.
SubscribeToNetEvents let's you subscribe to all core network event.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
used when an interface goes down, then back up, etc.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
NOTE: these should be defined in newer go, in.
Exponential retry backoff interval.
5 secs.
No description provided by the author
public event names.
No description provided by the author
6 minutes which is the exponential retry backoff window.
24 hours.
# Variables
ErrNoInterface is the error when no interface can be found by the reference data.
# Structs
Monitor for ConfigChangeHook
.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
internal wrapper, used to store network settings.
# Type aliases
No description provided by the author