import "k8s.io/kubernetes/pkg/kubelet/dockershim/network/cni"
const ( // CNIPluginName is the name of CNI plugin CNIPluginName = "cni" )
func ProbeNetworkPlugins(confDir, cacheDir string, binDirs []string) []network.NetworkPlugin
ProbeNetworkPlugins : get the network plugin based on cni conf file and bin file
SplitDirs : split dirs by ","
Path | Synopsis |
---|---|
testing | mock_cni is a mock of the `libcni.CNI` interface. |
Package cni imports 19 packages (graph) and is imported by 17 packages. Updated 2020-08-29. Refresh now. Tools for package owners.