cni

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// DefaultInterfaceName describes the interface name that the CNI network plugin will set up
	DefaultInterfaceName = "eth0"
	// CNIBinDir describes the directory where the CNI binaries are stored
	CNIBinDir = "/opt/cni/bin"
	// CNIConfDir describes the directory where the CNI plugin's configuration is stored
	// TODO: CNIBinDir and CNIConfDir should maybe be globally configurable?
	CNIConfDir = "/etc/cni/net.d"
)

Variables

This section is empty.

Functions

func GetCNINetworkPlugin

func GetCNINetworkPlugin(runtime runtime.Interface) (network.Plugin, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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