mock_netwrapper

package
v0.0.0-...-b702281 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_netwrapper is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetWrapper

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

MockNetWrapper is a mock of NetWrapper interface.

func NewMockNetWrapper

func NewMockNetWrapper(ctrl *gomock.Controller) *MockNetWrapper

NewMockNetWrapper creates a new mock instance.

func (*MockNetWrapper) EXPECT

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

func (*MockNetWrapper) FindInterfaceByIndex

func (m *MockNetWrapper) FindInterfaceByIndex(arg0 int) (*net.Interface, error)

FindInterfaceByIndex mocks base method.

func (*MockNetWrapper) GetAllNetworkInterfaces

func (m *MockNetWrapper) GetAllNetworkInterfaces() ([]net.Interface, error)

GetAllNetworkInterfaces mocks base method.

type MockNetWrapperMockRecorder

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

MockNetWrapperMockRecorder is the mock recorder for MockNetWrapper.

func (*MockNetWrapperMockRecorder) FindInterfaceByIndex

func (mr *MockNetWrapperMockRecorder) FindInterfaceByIndex(arg0 interface{}) *gomock.Call

FindInterfaceByIndex indicates an expected call of FindInterfaceByIndex.

func (*MockNetWrapperMockRecorder) GetAllNetworkInterfaces

func (mr *MockNetWrapperMockRecorder) GetAllNetworkInterfaces() *gomock.Call

GetAllNetworkInterfaces indicates an expected call of GetAllNetworkInterfaces.

Jump to

Keyboard shortcuts

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