fake

package
v0.18.0-m0 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 11 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 (*NetLink) AwaitDstRoutes added in v0.17.0

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

func (*NetLink) AwaitGwRoutes added in v0.17.0

func (n *NetLink) AwaitGwRoutes(linkIndex, table int, gwIPs ...string)
func (n *NetLink) AwaitLink(name string) (link netlink.Link)

func (*NetLink) AwaitNeighbors

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

func (*NetLink) AwaitNoDstRoutes added in v0.17.0

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

func (*NetLink) AwaitNoGwRoutes added in v0.17.0

func (n *NetLink) AwaitNoGwRoutes(linkIndex, table int, gwIPs ...string)
func (n *NetLink) AwaitNoLink(name string)

func (*NetLink) AwaitNoNeighbors

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

func (*NetLink) AwaitNoRule

func (n *NetLink) AwaitNoRule(table int, src, dst string)

func (*NetLink) AwaitRule

func (n *NetLink) AwaitRule(table int, src, dst string)

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