cniipamwrapper

package
v0.0.0-...-2a71758 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPAM

type IPAM interface {
	// ExecAdd invokes the IPAM plugin with the ADD command
	ExecAdd(plugin string, netconf []byte) (types.Result, error)
	// ExecDel invokes the IPAM plugin with the ADD command
	ExecDel(plugin string, netconf []byte) error
	// ConfigureIface configures the interface named ifName
	// with the result object
	ConfigureIface(ifName string, res *current.Result) error
}

IPAM wraps methods used from the the cni/pkg/ipam package

func New

func New() IPAM

New creates a new IPAM object

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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