mocks

package
v2.1.23 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by MockGen. DO NOT EDIT. Source: proxy_manager.go

Generated by this command:

mockgen -destination mocks/proxy_manager_mock.go -source proxy_manager.go -package mocks

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