Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IPCLock ¶ added in v0.5.0
IPCLock provides a way to lock and unlock around critical sections given each CNI instance runs as a separate process. Currently this is with a lockfile.
func NewIPCLock ¶ added in v0.5.0
NewIPClock returns an instance of ipclock, which itself is a wrapper around a lockfile capable of being used with flock()
type Manager ¶
type Manager interface { SetupVF(conf *types.PluginConf, podifName string, cid string, netns ns.NetNS) (string, error) ReleaseVF(conf *types.PluginConf, podifName string, cid string, netns ns.NetNS) error ResetVFConfig(conf *types.PluginConf) error ApplyVFConfig(conf *types.PluginConf) error AttachRepresentor(conf *types.PluginConf) error DetachRepresentor(conf *types.PluginConf) error }
Manager provides interface invoke sriov nic related operations
Click to show internal directories.
Click to hide internal directories.