link

package
v1.11.5 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnsupported = errors.New("not supported arch")
	ErrNotFound    = errors.New("not found")
)

define err

Functions

func GetDeviceNumber

func GetDeviceNumber(mac string) (int32, error)

GetDeviceNumber get interface device number by mac address

func VethNameForPod

func VethNameForPod(name, namespace, ifName, prefix string) (string, error)

VethNameForPod return host-side veth name for pod max veth length is 15

Types

This section is empty.

Jump to

Keyboard shortcuts

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