Documentation ¶
Overview ¶
Package mock_networkutils is a generated GoMock package.
Index ¶
- type MockNetworkUtils
- func (m *MockNetworkUtils) ConvertInterfaceAliasToLUID(interfaceAlias string) (uint64, error)
- func (m *MockNetworkUtils) EXPECT() *MockNetworkUtilsMockRecorder
- func (m *MockNetworkUtils) GetAllNetworkInterfaces() ([]net.Interface, error)
- func (m *MockNetworkUtils) GetDNSServerAddressList(macAddress string) ([]string, error)
- func (m *MockNetworkUtils) GetInterfaceMACByIndex(arg0 int, arg1 context.Context, arg2 time.Duration) (string, error)
- func (m *MockNetworkUtils) GetMIBIfEntryFromLUID(ifaceLUID uint64) (*networkutils.MibIfRow2, error)
- type MockNetworkUtilsMockRecorder
- func (mr *MockNetworkUtilsMockRecorder) ConvertInterfaceAliasToLUID(interfaceAlias interface{}) *gomock.Call
- func (mr *MockNetworkUtilsMockRecorder) GetAllNetworkInterfaces() *gomock.Call
- func (mr *MockNetworkUtilsMockRecorder) GetDNSServerAddressList(macAddress interface{}) *gomock.Call
- func (mr *MockNetworkUtilsMockRecorder) GetInterfaceMACByIndex(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockNetworkUtilsMockRecorder) GetMIBIfEntryFromLUID(ifaceLUID interface{}) *gomock.Call
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 ¶
func (m *MockNetworkUtils) EXPECT() *MockNetworkUtilsMockRecorder
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