package cni
import "k8s.io/kubernetes/pkg/kubelet/dockershim/network/cni"
Index ¶
- Constants
- func ProbeNetworkPlugins(confDir, cacheDir string, binDirs []string) []network.NetworkPlugin
- func SplitDirs(dirs string) []string
Constants ¶
const ( // CNIPluginName is the name of CNI plugin CNIPluginName = "cni" )
Functions ¶
func ProbeNetworkPlugins ¶
func ProbeNetworkPlugins(confDir, cacheDir string, binDirs []string) []network.NetworkPlugin
ProbeNetworkPlugins : get the network plugin based on cni conf file and bin file
func SplitDirs ¶
SplitDirs : split dirs by ","
Source Files ¶
cni.go cni_others.go
Directories ¶
Path | Synopsis |
---|---|
pkg/kubelet/dockershim/network/cni/testing | mock_cni is a mock of the `libcni.CNI` interface. |
- Version
- v1.17.7-rc.0
- Published
- May 20, 2020
- Platform
- js/wasm
- Imports
- 19 packages
- Last checked
- 17 minutes ago –
Tools for package owners.