mocks

package
v0.0.0-...-9606b86 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 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 MockInterface

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

MockInterface is a mock of Interface interface

func NewMockInterface

func NewMockInterface(ctrl *gomock.Controller) *MockInterface

NewMockInterface creates a new mock instance

func (*MockInterface) Close

func (m *MockInterface) Close() error

Close mocks base method

func (*MockInterface) EXPECT

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

func (*MockInterface) IsTAP

func (m *MockInterface) IsTAP() bool

IsTAP mocks base method

func (*MockInterface) IsTUN

func (m *MockInterface) IsTUN() bool

IsTUN mocks base method

func (*MockInterface) Name

func (m *MockInterface) Name() string

Name mocks base method

func (*MockInterface) Read

func (m *MockInterface) Read(arg0 []byte) (int, error)

Read mocks base method

func (*MockInterface) Write

func (m *MockInterface) Write(arg0 []byte) (int, error)

Write mocks base method

type MockInterfaceMockRecorder

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

MockInterfaceMockRecorder is the mock recorder for MockInterface

func (*MockInterfaceMockRecorder) Close

func (mr *MockInterfaceMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockInterfaceMockRecorder) IsTAP

func (mr *MockInterfaceMockRecorder) IsTAP() *gomock.Call

IsTAP indicates an expected call of IsTAP

func (*MockInterfaceMockRecorder) IsTUN

func (mr *MockInterfaceMockRecorder) IsTUN() *gomock.Call

IsTUN indicates an expected call of IsTUN

func (*MockInterfaceMockRecorder) Name

Name indicates an expected call of Name

func (*MockInterfaceMockRecorder) Read

func (mr *MockInterfaceMockRecorder) Read(arg0 interface{}) *gomock.Call

Read indicates an expected call of Read

func (*MockInterfaceMockRecorder) Write

func (mr *MockInterfaceMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write

Jump to

Keyboard shortcuts

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