networkmock

package
v1.9.3 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package networkmock is a generated GoMock package.

Package networkmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockARP

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

MockARP is a mock of ARP interface

func NewMockARP

func NewMockARP(ctrl *gomock.Controller) *MockARP

NewMockARP creates a new mock instance

func (*MockARP) EXPECT

func (m *MockARP) EXPECT() *MockARPMockRecorder

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

func (*MockARP) GratuitousArp

func (m *MockARP) GratuitousArp(arg0 network.GratuitousArpRequest) error

GratuitousArp mocks base method

type MockARPMockRecorder

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

MockARPMockRecorder is the mock recorder for MockARP

func (*MockARPMockRecorder) GratuitousArp

func (mr *MockARPMockRecorder) GratuitousArp(arg0 interface{}) *gomock.Call

GratuitousArp indicates an expected call of GratuitousArp

type MockNetworkInterface

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

MockNetworkInterface is a mock of NetworkInterface interface

func NewMockNetworkInterface

func NewMockNetworkInterface(ctrl *gomock.Controller) *MockNetworkInterface

NewMockNetworkInterface creates a new mock instance

func (*MockNetworkInterface) EXPECT

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

func (*MockNetworkInterface) EnsureIP

func (m *MockNetworkInterface) EnsureIP(arg0 string) error

EnsureIP mocks base method

func (*MockNetworkInterface) RemoveIP

func (m *MockNetworkInterface) RemoveIP(arg0 string) error

RemoveIP mocks base method

type MockNetworkInterfaceMockRecorder

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

MockNetworkInterfaceMockRecorder is the mock recorder for MockNetworkInterface

func (*MockNetworkInterfaceMockRecorder) EnsureIP

func (mr *MockNetworkInterfaceMockRecorder) EnsureIP(arg0 interface{}) *gomock.Call

EnsureIP indicates an expected call of EnsureIP

func (*MockNetworkInterfaceMockRecorder) RemoveIP

func (mr *MockNetworkInterfaceMockRecorder) RemoveIP(arg0 interface{}) *gomock.Call

RemoveIP indicates an expected call of RemoveIP

Jump to

Keyboard shortcuts

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