fakes

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetAdapter

type NetAdapter struct {
	InterfaceByIndexStub func(int) (*net.Interface, error)
	// contains filtered or unexported fields
}

func (*NetAdapter) InterfaceByIndex

func (fake *NetAdapter) InterfaceByIndex(arg1 int) (*net.Interface, error)

func (*NetAdapter) InterfaceByIndexArgsForCall

func (fake *NetAdapter) InterfaceByIndexArgsForCall(i int) int

func (*NetAdapter) InterfaceByIndexCallCount

func (fake *NetAdapter) InterfaceByIndexCallCount() int

func (*NetAdapter) InterfaceByIndexReturns

func (fake *NetAdapter) InterfaceByIndexReturns(result1 *net.Interface, result2 error)

func (*NetAdapter) InterfaceByIndexReturnsOnCall

func (fake *NetAdapter) InterfaceByIndexReturnsOnCall(i int, result1 *net.Interface, result2 error)

func (*NetAdapter) Invocations

func (fake *NetAdapter) Invocations() map[string][][]interface{}

type NetlinkAdapter

type NetlinkAdapter struct {
	RouteListStub func(netlink.Link, int) ([]netlink.Route, error)
	// contains filtered or unexported fields
}

func (*NetlinkAdapter) Invocations

func (fake *NetlinkAdapter) Invocations() map[string][][]interface{}

func (*NetlinkAdapter) RouteList

func (fake *NetlinkAdapter) RouteList(arg1 netlink.Link, arg2 int) ([]netlink.Route, error)

func (*NetlinkAdapter) RouteListArgsForCall

func (fake *NetlinkAdapter) RouteListArgsForCall(i int) (netlink.Link, int)

func (*NetlinkAdapter) RouteListCallCount

func (fake *NetlinkAdapter) RouteListCallCount() int

func (*NetlinkAdapter) RouteListReturns

func (fake *NetlinkAdapter) RouteListReturns(result1 []netlink.Route, result2 error)

func (*NetlinkAdapter) RouteListReturnsOnCall

func (fake *NetlinkAdapter) RouteListReturnsOnCall(i int, result1 []netlink.Route, result2 error)

Jump to

Keyboard shortcuts

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