cni

package
v0.3.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

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

Variables

This section is empty.

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

func SplitDirs(dirs string) []string

SplitDirs : split dirs by ","

Types

This section is empty.

Directories

Path Synopsis
mock_cni is a mock of the `libcni.CNI` interface.
mock_cni is a mock of the `libcni.CNI` interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL