plugin

package
v0.23.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdAdd

func CmdAdd(args *skel.CmdArgs) error

CmdAdd add handler for attaching container into network

func CmdCheck added in v0.20.0

func CmdCheck(args *skel.CmdArgs) error

CmdCheck check handler to make sure networking is as expected. yet to be implemented.

func CmdDel

func CmdDel(args *skel.CmdArgs) error

CmdDel remove handler for deleting container from network

Types

type EnvArgs added in v0.4.0

type EnvArgs struct {
	cnitypes.CommonArgs
	MAC     cnitypes.UnmarshallableString `json:"mac,omitempty"`
	OvnPort cnitypes.UnmarshallableString `json:"ovnPort,omitempty"`
}

EnvArgs args containing common, desired mac and ovs port name

Jump to

Keyboard shortcuts

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