fake

package
v0.17.0-m0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetLink struct {
	netlinkAPI.Adapter
}

func New

func New() *NetLink
func (n *NetLink) AwaitLink(name string) (link netlink.Link)

func (*NetLink) AwaitNeighbors

func (n *NetLink) AwaitNeighbors(linkIndex int, expIPs ...string)
func (n *NetLink) AwaitNoLink(name string)

func (*NetLink) AwaitNoNeighbors

func (n *NetLink) AwaitNoNeighbors(linkIndex int, expIPs ...string)

func (*NetLink) AwaitNoRoutes

func (n *NetLink) AwaitNoRoutes(linkIndex int, destCIDRs ...string)

func (*NetLink) AwaitNoRule

func (n *NetLink) AwaitNoRule(table int)

func (*NetLink) AwaitRoutes

func (n *NetLink) AwaitRoutes(linkIndex int, destCIDRs ...string)

func (*NetLink) AwaitRule

func (n *NetLink) AwaitRule(table int)

func (*NetLink) SetLinkIndex

func (n *NetLink) SetLinkIndex(name string, index int)

Jump to

Keyboard shortcuts

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