plugin

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 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

func CmdCheck

func CmdCheck(args *skel.CmdArgs) error

func CmdDel

func CmdDel(args *skel.CmdArgs) error

func NewCmd

func NewCmd(netns ns.NetNS, sysctlAdapter sysctlAdapter, netlinkAdapter netlinkAdapter) *cmd

Types

type CniArgs

type CniArgs struct {
	LogicNetworkName string `json:"logicNetworkName,omitempty"`
}

CniArgs represents extended parameters that are passed as `cni-args`.

type NetConf

type NetConf struct {
	types.NetConf

	Args struct {
		Cni CniArgs `json:"cni,omitempty"`
	} `json:"args,omitempty"`
}

A NetConf structure represents a Multus network attachment definition configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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