cni

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2016 License: Apache-2.0 Imports: 8 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 {
	Logger lager.Logger

	CNIConfig      *libcni.CNIConfig
	NetworkConfigs []*libcni.NetworkConfig
}

func (*CNIController) Down

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

func (*CNIController) Up

func (c *CNIController) Up(namespacePath, handle string, properties map[string]string) (*types.Result, error)

type CNILoader

type CNILoader struct {
	PluginDir string
	ConfigDir string
	Logger    lager.Logger
}

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