mocks

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 License: Apache-2.0 Imports: 4 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 MockTun

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

MockTun is a mock of Tun interface.

func NewMockTun

func NewMockTun(ctrl *gomock.Controller) *MockTun

NewMockTun creates a new mock instance.

func (*MockTun) CreateTUN

func (m *MockTun) CreateTUN() (*water.Interface, error)

CreateTUN mocks base method.

func (*MockTun) EXPECT

func (m *MockTun) EXPECT() *MockTunMockRecorder

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

func (*MockTun) SetTUNIP

func (m *MockTun) SetTUNIP(arg0 string, arg1 net.IP, arg2 *net.IPNet, arg3 bool) error

SetTUNIP mocks base method.

func (*MockTun) SetTUNStatus

func (m *MockTun) SetTUNStatus(arg0 string, arg1, arg2 bool) error

SetTUNStatus mocks base method.

type MockTunMockRecorder

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

MockTunMockRecorder is the mock recorder for MockTun.

func (*MockTunMockRecorder) CreateTUN

func (mr *MockTunMockRecorder) CreateTUN() *gomock.Call

CreateTUN indicates an expected call of CreateTUN.

func (*MockTunMockRecorder) SetTUNIP

func (mr *MockTunMockRecorder) SetTUNIP(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SetTUNIP indicates an expected call of SetTUNIP.

func (*MockTunMockRecorder) SetTUNStatus

func (mr *MockTunMockRecorder) SetTUNStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetTUNStatus indicates an expected call of SetTUNStatus.

Jump to

Keyboard shortcuts

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