Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// DefaultCNIDir used for caching NetConf
DefaultCNIDir = "/var/lib/cni/sriov"
)
Functions ¶
func LoadConf ¶
func LoadConf(bytes []byte) (*sriovtypes.NetConf, error)
LoadConf parses and validates stdin netconf and returns NetConf object
func LoadConfFromCache ¶
LoadConfFromCache retrieves cached NetConf returns it along with a handle for removal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.