mocks

package
v1.5.14 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockNetworkAdapter

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

MockNetworkAdapter is a mock of NetworkAdapter interface.

func NewMockNetworkAdapter

func NewMockNetworkAdapter(ctrl *gomock.Controller) *MockNetworkAdapter

NewMockNetworkAdapter creates a new mock instance.

func (*MockNetworkAdapter) EXPECT

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

func (*MockNetworkAdapter) GetAdapterName

func (m *MockNetworkAdapter) GetAdapterName() (string, error)

GetAdapterName mocks base method.

func (*MockNetworkAdapter) GetPriorityVLANTag

func (m *MockNetworkAdapter) GetPriorityVLANTag() (int, error)

GetPriorityVLANTag mocks base method.

func (*MockNetworkAdapter) SetPriorityVLANTag

func (m *MockNetworkAdapter) SetPriorityVLANTag(arg0 int) error

SetPriorityVLANTag mocks base method.

type MockNetworkAdapterMockRecorder

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

MockNetworkAdapterMockRecorder is the mock recorder for MockNetworkAdapter.

func (*MockNetworkAdapterMockRecorder) GetAdapterName

func (mr *MockNetworkAdapterMockRecorder) GetAdapterName() *gomock.Call

GetAdapterName indicates an expected call of GetAdapterName.

func (*MockNetworkAdapterMockRecorder) GetPriorityVLANTag

func (mr *MockNetworkAdapterMockRecorder) GetPriorityVLANTag() *gomock.Call

GetPriorityVLANTag indicates an expected call of GetPriorityVLANTag.

func (*MockNetworkAdapterMockRecorder) SetPriorityVLANTag

func (mr *MockNetworkAdapterMockRecorder) SetPriorityVLANTag(arg0 interface{}) *gomock.Call

SetPriorityVLANTag indicates an expected call of SetPriorityVLANTag.

Jump to

Keyboard shortcuts

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