cni

package
v0.0.0-...-1f48b27 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CmdAdd

func CmdAdd(args *skel.CmdArgs) error

func CmdDel

func CmdDel(args *skel.CmdArgs) error

Types

type NetConf

type NetConf struct {
	types.NetConf
	ServerSocket    string `json:"server_socket"`
	DefaultMaster   string `json:"default_master"`
	VtapType        string `json:"vtap_type"`
	MTU             int    `json:"mtu,omitempty"`
	IsPromiscuous   bool   `json:"promiscMode,omitempty"`
	IsMasterInNetNs bool   `json:"masterInNetNs,omitempty"`
}

Jump to

Keyboard shortcuts

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