Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockConfigWatcher
- type MockConfigWatcherMockRecorder
- type MockManager
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) IsEnabled() *gomock.Call
- func (mr *MockManagerMockRecorder) Serve(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) ServeSNI(arg0 any) *gomock.Call
- func (mr *MockManagerMockRecorder) Stop() *gomock.Call
- func (mr *MockManagerMockRecorder) Watch(arg0 any) *gomock.Call
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
func (m *MockConfigWatcher) EXPECT() *MockConfigWatcherMockRecorder
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.
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) 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) 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.