cni

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNIController

type CNIController struct {
	CNIConfig      libcni.CNI
	NetworkConfigs []*libcni.NetworkConfig
}

func (*CNIController) Down

func (c *CNIController) Down(namespacePath, handle string) error

func (*CNIController) Up

func (c *CNIController) Up(namespacePath, handle string, metadata map[string]interface{}, legacyNetConf map[string]interface{}) (types.Result, error)

type CNILoader

type CNILoader struct {
	PluginDir string
	ConfigDir string
}

func (*CNILoader) GetCNIConfig

func (l *CNILoader) GetCNIConfig() *libcni.CNIConfig

func (*CNILoader) GetNetworkConfigs

func (l *CNILoader) GetNetworkConfigs() ([]*libcni.NetworkConfig, error)

Jump to

Keyboard shortcuts

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