multuscni

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CmdAdd = "ADD"
	CmdDel = "DEL"
)

Variables

This section is empty.

Functions

func MultusDelegateURL

func MultusDelegateURL() string

Types

type Client

type Client interface {
	InvokeDelegate(req *multusapi.Request) (*multusapi.Response, error)
}

type HTTPClient

type HTTPClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(socketPath string) *HTTPClient

func (*HTTPClient) DoCNI

func (c *HTTPClient) DoCNI(req *multusapi.Request) ([]byte, error)

func (*HTTPClient) InvokeDelegate

func (c *HTTPClient) InvokeDelegate(req *multusapi.Request) (*multusapi.Response, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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