cniipamwrapper

package
v0.0.0-...-53a8481 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 1

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
Package mock_cniipamwrapper is a generated GoMock package.
Package mock_cniipamwrapper is a generated GoMock package.
Package mock_types is a generated GoMock package.
Package mock_types is a generated GoMock package.

Jump to

Keyboard shortcuts

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