network

package
v1.5.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	DetectInterfaceMTU(device string) (int, error)
	DetectDefaultRouteInterfaceName() (string, error)
	GetIPFromPodNetNS(podNSPath string, ifName string, ipFamily int) (net.IP, error)
	GetLinkByMacAddress(macAddress string) (netlink.Link, error)
	InterfaceByName(name string) (*net.Interface, error)
	GratuitousArpOverIface(srcIP net.IP, iface net.Interface) error
}

func New

func New() Interface

Directories

Path Synopsis
Package testing is a generated GoMock package.
Package testing is a generated GoMock package.

Jump to

Keyboard shortcuts

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