plugin

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CNIPluginName = "nv-ipam"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GRPCClient added in v0.1.0

type GRPCClient interface {
	nodev1.IPAMServiceClient
}

type NewGRPCClientFunc added in v0.1.0

type NewGRPCClientFunc func(daemonSocket string) (GRPCClient, error)

type Plugin

type Plugin struct {
	Name              string
	Version           string
	ConfLoader        types.ConfLoader
	NewGRPCClientFunc NewGRPCClientFunc
}

func NewPlugin

func NewPlugin() *Plugin

func (*Plugin) CmdAdd

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

func (*Plugin) CmdCheck

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

func (*Plugin) CmdDel

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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