plugin

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 17 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(plugin string, netconf []byte) (types.Result, error)
	ExecDel(plugin string, netconf []byte) error
	ConfigureIface(ifName string, res *current.Result) error
}

IPAM represents limited subset of functions from ipam package

type NS

type NS interface {
	GetNS(nspath string) (ns.NetNS, error)
}

NS represents limited subset of functions from ns package

type Plugin

type Plugin struct {
	// contains filtered or unexported fields
}

Plugin is accelerated-bridge-cni implementation

func NewPlugin

func NewPlugin() *Plugin

NewPlugin create and initialize accelerated-bridge-cni Plugin object

func (*Plugin) CmdAdd

func (p *Plugin) CmdAdd(args *skel.CmdArgs) error

CmdAdd implementation of accelerated-bridge-cni plugin

func (*Plugin) CmdCheck

func (p *Plugin) CmdCheck(args *skel.CmdArgs) error

CmdCheck implementation of accelerated-bridge-cni plugin

func (*Plugin) CmdDel

func (p *Plugin) CmdDel(args *skel.CmdArgs) error

CmdDel implementation of accelerated-bridge-cni plugin

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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