testing

package
v1.7.10 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package testing is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockInterface

type MockInterface struct {
	// contains filtered or unexported fields
}

MockInterface is a mock of Interface interface.

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance.

func (*MockInterface) DetectDefaultRouteInterfaceName

func (m *MockInterface) DetectDefaultRouteInterfaceName() (string, error)

DetectDefaultRouteInterfaceName mocks base method.

func (*MockInterface) DetectInterfaceMTU

func (m *MockInterface) DetectInterfaceMTU(arg0 string) (int, error)

DetectInterfaceMTU mocks base method.

func (*MockInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockInterface) GetIPFromPodNetNS

func (m *MockInterface) GetIPFromPodNetNS(arg0, arg1 string, arg2 int) (net.IP, error)

GetIPFromPodNetNS mocks base method.

func (*MockInterface) GetLinkByMacAddress

func (m *MockInterface) GetLinkByMacAddress(arg0 string) (netlink.Link, error)

GetLinkByMacAddress mocks base method.

func (*MockInterface) GratuitousArpOverIface

func (m *MockInterface) GratuitousArpOverIface(arg0 net.IP, arg1 net.Interface) error

GratuitousArpOverIface mocks base method.

func (*MockInterface) InterfaceByName

func (m *MockInterface) InterfaceByName(arg0 string) (*net.Interface, error)

InterfaceByName mocks base method.

type MockInterfaceMockRecorder

type MockInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInterfaceMockRecorder is the mock recorder for MockInterface.

func (*MockInterfaceMockRecorder) DetectDefaultRouteInterfaceName

func (mr *MockInterfaceMockRecorder) DetectDefaultRouteInterfaceName() *gomock.Call

DetectDefaultRouteInterfaceName indicates an expected call of DetectDefaultRouteInterfaceName.

func (*MockInterfaceMockRecorder) DetectInterfaceMTU

func (mr *MockInterfaceMockRecorder) DetectInterfaceMTU(arg0 interface{}) *gomock.Call

DetectInterfaceMTU indicates an expected call of DetectInterfaceMTU.

func (*MockInterfaceMockRecorder) GetIPFromPodNetNS

func (mr *MockInterfaceMockRecorder) GetIPFromPodNetNS(arg0, arg1, arg2 interface{}) *gomock.Call

GetIPFromPodNetNS indicates an expected call of GetIPFromPodNetNS.

func (*MockInterfaceMockRecorder) GetLinkByMacAddress

func (mr *MockInterfaceMockRecorder) GetLinkByMacAddress(arg0 interface{}) *gomock.Call

GetLinkByMacAddress indicates an expected call of GetLinkByMacAddress.

func (*MockInterfaceMockRecorder) GratuitousArpOverIface

func (mr *MockInterfaceMockRecorder) GratuitousArpOverIface(arg0, arg1 interface{}) *gomock.Call

GratuitousArpOverIface indicates an expected call of GratuitousArpOverIface.

func (*MockInterfaceMockRecorder) InterfaceByName

func (mr *MockInterfaceMockRecorder) InterfaceByName(arg0 interface{}) *gomock.Call

InterfaceByName indicates an expected call of InterfaceByName.

Jump to

Keyboard shortcuts

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