fakes

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetlinkAdapter

type NetlinkAdapter struct {
	LinkByNameStub func(string) (netlink.Link, error)

	AddrListStub func(netlink.Link, int) ([]netlink.Addr, error)
	// contains filtered or unexported fields
}

func (*NetlinkAdapter) AddrList

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

func (*NetlinkAdapter) AddrListArgsForCall

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

func (*NetlinkAdapter) AddrListCallCount

func (fake *NetlinkAdapter) AddrListCallCount() int

func (*NetlinkAdapter) AddrListReturns

func (fake *NetlinkAdapter) AddrListReturns(result1 []netlink.Addr, result2 error)

func (*NetlinkAdapter) Invocations

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

func (*NetlinkAdapter) LinkByName

func (fake *NetlinkAdapter) LinkByName(arg1 string) (netlink.Link, error)

func (*NetlinkAdapter) LinkByNameArgsForCall

func (fake *NetlinkAdapter) LinkByNameArgsForCall(i int) string

func (*NetlinkAdapter) LinkByNameCallCount

func (fake *NetlinkAdapter) LinkByNameCallCount() int

func (*NetlinkAdapter) LinkByNameReturns

func (fake *NetlinkAdapter) LinkByNameReturns(result1 netlink.Link, result2 error)

Jump to

Keyboard shortcuts

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