package
1.0.0
Repository: https://github.com/mapuri/netplugin.git
Documentation: pkg.go.dev

# Functions

FetchSysAttrs would read the system attributes and store them in the exported vars for the plugin to use; some of the attributes may need OS spefici methods to fetch, thus the first attribute to fetch is the OS type.
GetStateDriver returns the singleton instance of the state-driver.
NewNetworkDriver instantiates a 'named' network-driver with specified configuration.
NewStateDriver instantiates a 'named' state-driver with specified configuration.
ReleaseStateDriver releases the singleton instance of the state-driver.

# Constants

ConsulNameStr is a string constant for consul state-store.
EtcdNameStr is a string constant for etcd state-store.
OvsNameStr is a string constant for ovs driver.

# Variables

Exported system attributes.

# Structs

SystemAttributes enlist the system specific attributes and are read upon the system start.