Documentation ¶
Overview ¶
Package skel provides skeleton code for a CNI plugin. In particular, it implements argument parsing and validation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluginMain ¶
func PluginMain(cmdAdd, cmdDel func(_ *CmdArgs) error, versionInfo version.PluginInfo)
PluginMain is the "main" for a plugin. It accepts two callback functions for add and del commands.
Types ¶
Click to show internal directories.
Click to hide internal directories.