fakes

package
v0.0.0-...-6c08e66 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 NetInterface

type NetInterface struct {
	ByNameStub func(string) (netinterface.AdapterInfo, error)

	ByIPStub func(string) (netinterface.AdapterInfo, error)

	SetMTUStub func(string, uint32, uint32) error

	GetMTUStub func(string, uint32) (uint32, error)
	// contains filtered or unexported fields
}

func (*NetInterface) ByIP

func (fake *NetInterface) ByIP(arg1 string) (netinterface.AdapterInfo, error)

func (*NetInterface) ByIPArgsForCall

func (fake *NetInterface) ByIPArgsForCall(i int) string

func (*NetInterface) ByIPCallCount

func (fake *NetInterface) ByIPCallCount() int

func (*NetInterface) ByIPReturns

func (fake *NetInterface) ByIPReturns(result1 netinterface.AdapterInfo, result2 error)

func (*NetInterface) ByIPReturnsOnCall

func (fake *NetInterface) ByIPReturnsOnCall(i int, result1 netinterface.AdapterInfo, result2 error)

func (*NetInterface) ByName

func (fake *NetInterface) ByName(arg1 string) (netinterface.AdapterInfo, error)

func (*NetInterface) ByNameArgsForCall

func (fake *NetInterface) ByNameArgsForCall(i int) string

func (*NetInterface) ByNameCallCount

func (fake *NetInterface) ByNameCallCount() int

func (*NetInterface) ByNameReturns

func (fake *NetInterface) ByNameReturns(result1 netinterface.AdapterInfo, result2 error)

func (*NetInterface) ByNameReturnsOnCall

func (fake *NetInterface) ByNameReturnsOnCall(i int, result1 netinterface.AdapterInfo, result2 error)

func (*NetInterface) GetMTU

func (fake *NetInterface) GetMTU(arg1 string, arg2 uint32) (uint32, error)

func (*NetInterface) GetMTUArgsForCall

func (fake *NetInterface) GetMTUArgsForCall(i int) (string, uint32)

func (*NetInterface) GetMTUCallCount

func (fake *NetInterface) GetMTUCallCount() int

func (*NetInterface) GetMTUReturns

func (fake *NetInterface) GetMTUReturns(result1 uint32, result2 error)

func (*NetInterface) GetMTUReturnsOnCall

func (fake *NetInterface) GetMTUReturnsOnCall(i int, result1 uint32, result2 error)

func (*NetInterface) Invocations

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

func (*NetInterface) SetMTU

func (fake *NetInterface) SetMTU(arg1 string, arg2 uint32, arg3 uint32) error

func (*NetInterface) SetMTUArgsForCall

func (fake *NetInterface) SetMTUArgsForCall(i int) (string, uint32, uint32)

func (*NetInterface) SetMTUCallCount

func (fake *NetInterface) SetMTUCallCount() int

func (*NetInterface) SetMTUReturns

func (fake *NetInterface) SetMTUReturns(result1 error)

func (*NetInterface) SetMTUReturnsOnCall

func (fake *NetInterface) SetMTUReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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