Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultCNIDir used for caching NetConf DefaultCNIDir = "/var/lib/cni/ib-sriov" // CniFileLockDir point to the CNI's lockfile CniFileLockDir = "/var/run/cni/ib-sriov" // CniFileLockName is the name of the lockfile used in the CNI CniFileLockName = "cni.lock" )
Functions ¶
func LoadConfFromCache ¶
LoadConfFromCache retrieves cached NetConf returns it along with a handle for removal
func LoadDeviceInfo ¶
Load device specific information into netConf
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.