mock_networkutils

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: 6 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package mock_networkutils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetworkUtils

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

MockNetworkUtils is a mock of NetworkUtils interface

func NewMockNetworkUtils

func NewMockNetworkUtils(ctrl *gomock.Controller) *MockNetworkUtils

NewMockNetworkUtils creates a new mock instance

func (*MockNetworkUtils) ConvertInterfaceAliasToLUID

func (m *MockNetworkUtils) ConvertInterfaceAliasToLUID(interfaceAlias string) (uint64, error)

ConvertInterfaceAliasToLUID mocks base method

func (*MockNetworkUtils) EXPECT

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

func (*MockNetworkUtils) GetAllNetworkInterfaces

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

GetAllNetworkInterfaces mocks base method

func (*MockNetworkUtils) GetDNSServerAddressList

func (m *MockNetworkUtils) GetDNSServerAddressList(macAddress string) ([]string, error)

GetDNSServerAddressList mocks base method

func (*MockNetworkUtils) GetInterfaceMACByIndex

func (m *MockNetworkUtils) GetInterfaceMACByIndex(arg0 int, arg1 context.Context, arg2 time.Duration) (string, error)

GetInterfaceMACByIndex mocks base method

func (*MockNetworkUtils) GetMIBIfEntryFromLUID

func (m *MockNetworkUtils) GetMIBIfEntryFromLUID(ifaceLUID uint64) (*networkutils.MibIfRow2, error)

GetMIBIfEntryFromLUID mocks base method

type MockNetworkUtilsMockRecorder

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

MockNetworkUtilsMockRecorder is the mock recorder for MockNetworkUtils

func (*MockNetworkUtilsMockRecorder) ConvertInterfaceAliasToLUID

func (mr *MockNetworkUtilsMockRecorder) ConvertInterfaceAliasToLUID(interfaceAlias interface{}) *gomock.Call

ConvertInterfaceAliasToLUID indicates an expected call of ConvertInterfaceAliasToLUID

func (*MockNetworkUtilsMockRecorder) GetAllNetworkInterfaces

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

GetAllNetworkInterfaces indicates an expected call of GetAllNetworkInterfaces

func (*MockNetworkUtilsMockRecorder) GetDNSServerAddressList

func (mr *MockNetworkUtilsMockRecorder) GetDNSServerAddressList(macAddress interface{}) *gomock.Call

GetDNSServerAddressList indicates an expected call of GetDNSServerAddressList

func (*MockNetworkUtilsMockRecorder) GetInterfaceMACByIndex

func (mr *MockNetworkUtilsMockRecorder) GetInterfaceMACByIndex(arg0, arg1, arg2 interface{}) *gomock.Call

GetInterfaceMACByIndex indicates an expected call of GetInterfaceMACByIndex

func (*MockNetworkUtilsMockRecorder) GetMIBIfEntryFromLUID

func (mr *MockNetworkUtilsMockRecorder) GetMIBIfEntryFromLUID(ifaceLUID interface{}) *gomock.Call

GetMIBIfEntryFromLUID indicates an expected call of GetMIBIfEntryFromLUID

Jump to

Keyboard shortcuts

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