kubernetes: k8s.io/kubernetes/pkg/kubelet/dockershim/network/cni Index | Files | Directories

package cni

import "k8s.io/kubernetes/pkg/kubelet/dockershim/network/cni"


Package Files

cni.go cni_others.go


const (
    // CNIPluginName is the name of CNI plugin
    CNIPluginName = "cni"

func ProbeNetworkPlugins Uses

func ProbeNetworkPlugins(confDir, cacheDir string, binDirs []string) []network.NetworkPlugin

ProbeNetworkPlugins : get the network plugin based on cni conf file and bin file

func SplitDirs Uses

func SplitDirs(dirs string) []string

SplitDirs : split dirs by ","


testingmock_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.