mocks

package
v2.1.58 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 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 MockConfigWatcher added in v2.0.5

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

MockConfigWatcher is a mock of ConfigWatcher interface.

func NewMockConfigWatcher added in v2.0.5

func NewMockConfigWatcher(ctrl *gomock.Controller) *MockConfigWatcher

NewMockConfigWatcher creates a new mock instance.

func (*MockConfigWatcher) EXPECT added in v2.0.5

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

func (*MockConfigWatcher) Watch added in v2.0.5

func (m *MockConfigWatcher) Watch(arg0 *config.ProxyOption)

Watch mocks base method.

type MockConfigWatcherMockRecorder added in v2.0.5

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

MockConfigWatcherMockRecorder is the mock recorder for MockConfigWatcher.

func (*MockConfigWatcherMockRecorder) Watch added in v2.0.5

func (mr *MockConfigWatcherMockRecorder) Watch(arg0 any) *gomock.Call

Watch indicates an expected call of Watch.

type MockManager

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

MockManager is a mock of Manager interface.

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) IsEnabled

func (m *MockManager) IsEnabled() bool

IsEnabled mocks base method.

func (*MockManager) Serve

func (m *MockManager) Serve(arg0 net.Listener) error

Serve mocks base method.

func (*MockManager) ServeSNI

func (m *MockManager) ServeSNI(arg0 net.Listener) error

ServeSNI mocks base method.

func (*MockManager) Stop

func (m *MockManager) Stop() error

Stop mocks base method.

func (*MockManager) Watch added in v2.0.5

func (m *MockManager) Watch(arg0 *config.ProxyOption)

Watch mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) IsEnabled

func (mr *MockManagerMockRecorder) IsEnabled() *gomock.Call

IsEnabled indicates an expected call of IsEnabled.

func (*MockManagerMockRecorder) Serve

func (mr *MockManagerMockRecorder) Serve(arg0 any) *gomock.Call

Serve indicates an expected call of Serve.

func (*MockManagerMockRecorder) ServeSNI

func (mr *MockManagerMockRecorder) ServeSNI(arg0 any) *gomock.Call

ServeSNI indicates an expected call of ServeSNI.

func (*MockManagerMockRecorder) Stop

func (mr *MockManagerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

func (*MockManagerMockRecorder) Watch added in v2.0.5

func (mr *MockManagerMockRecorder) Watch(arg0 any) *gomock.Call

Watch indicates an expected call of Watch.

Jump to

Keyboard shortcuts

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