package
1.0.0-alpha-01-28-2017.10-23-11.UTC
Repository: https://github.com/contiv/netplugin.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# 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.
GetDockerClient returns a new Docker Client based on the environment settings.
GetStateDriver returns the singleton instance of the state-driver.
ListenWrapper is a wrapper over net.Listener.
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
DefaultHTTPHost Default HTTP Host.
DefaultHTTPPort Default HTTP Port.
DefaultUnixSocket Path for the unix socket.
SysAttrs are the exported system attributes.
# Structs
LLDPNeighbor lists the neighbor attributes as learned by the host.
SystemAttributes enlist the system specific attributes and are read upon the system start.