cni

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2020 License: Apache-2.0 Imports: 10 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 - CNI interface

func CmdCheck

func CmdCheck(args *skel.CmdArgs) error

CmdCheck - CNI plugin Interface

func CmdDel

func CmdDel(args *skel.CmdArgs) error

CmdDel - CNI plugin Interface

Types

type EnvArgs

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

EnvArgs structure represents inputs sent from each VMI via environment variables

type NetConf

type NetConf struct {
	types.NetConf
	DeviceID string `json:"deviceID"`
	MTU      int    `json:"mtu,omitempty"`
}

A NetConf structure represents a Multus network attachment definition configuration

Jump to

Keyboard shortcuts

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