Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockConnector
- type MockConnectorMockRecorder
- type MockForwarder
- type MockForwarderMockRecorder
- type MockLogger
- func (m *MockLogger) Debug(arg0 string, arg1 ...interface{})
- func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
- func (m *MockLogger) Error(arg0 error, arg1 string, arg2 ...interface{})
- func (m *MockLogger) Fatal(arg0 error, arg1 string, arg2 ...interface{})
- func (m *MockLogger) Info(arg0 string, arg1 ...interface{})
- func (m *MockLogger) Warn(arg0 string, arg1 ...interface{})
- type MockLoggerMockRecorder
- func (mr *MockLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Error(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Fatal(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockLoggerMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnector ¶
type MockConnector struct {
// contains filtered or unexported fields
}
MockConnector is a mock of Connector interface.
func NewMockConnector ¶
func NewMockConnector(ctrl *gomock.Controller) *MockConnector
NewMockConnector creates a new mock instance.
func (*MockConnector) EXPECT ¶
func (m *MockConnector) EXPECT() *MockConnectorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnector) Start ¶
func (m *MockConnector) Start(arg0 connectorv1.StartContext) error
Start mocks base method.
func (*MockConnector) Stop ¶
func (m *MockConnector) Stop(arg0 connectorv1.StopContext) error
Stop mocks base method.
type MockConnectorMockRecorder ¶
type MockConnectorMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectorMockRecorder is the mock recorder for MockConnector.
func (*MockConnectorMockRecorder) Start ¶
func (mr *MockConnectorMockRecorder) Start(arg0 interface{}) *gomock.Call
Start indicates an expected call of Start.
func (*MockConnectorMockRecorder) Stop ¶
func (mr *MockConnectorMockRecorder) Stop(arg0 interface{}) *gomock.Call
Stop indicates an expected call of Stop.
type MockForwarder ¶
type MockForwarder struct {
// contains filtered or unexported fields
}
MockForwarder is a mock of Forwarder interface.
func NewMockForwarder ¶
func NewMockForwarder(ctrl *gomock.Controller) *MockForwarder
NewMockForwarder creates a new mock instance.
func (*MockForwarder) EXPECT ¶
func (m *MockForwarder) EXPECT() *MockForwarderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockForwarder) Forward ¶
func (m *MockForwarder) Forward(arg0 string, arg1 []byte, arg2 map[string]string, arg3 ...connectorv1.ForwardOption) (connectorv1.InboundResponse, error)
Forward mocks base method.
type MockForwarderMockRecorder ¶
type MockForwarderMockRecorder struct {
// contains filtered or unexported fields
}
MockForwarderMockRecorder is the mock recorder for MockForwarder.
func (*MockForwarderMockRecorder) Forward ¶
func (mr *MockForwarderMockRecorder) Forward(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Forward indicates an expected call of Forward.
type MockLogger ¶
type MockLogger struct {
// contains filtered or unexported fields
}
MockLogger is a mock of Logger interface.
func NewMockLogger ¶
func NewMockLogger(ctrl *gomock.Controller) *MockLogger
NewMockLogger creates a new mock instance.
func (*MockLogger) Debug ¶
func (m *MockLogger) Debug(arg0 string, arg1 ...interface{})
Debug mocks base method.
func (*MockLogger) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogger) Error ¶
func (m *MockLogger) Error(arg0 error, arg1 string, arg2 ...interface{})
Error mocks base method.
func (*MockLogger) Fatal ¶
func (m *MockLogger) Fatal(arg0 error, arg1 string, arg2 ...interface{})
Fatal mocks base method.
func (*MockLogger) Info ¶
func (m *MockLogger) Info(arg0 string, arg1 ...interface{})
Info mocks base method.
func (*MockLogger) Warn ¶
func (m *MockLogger) Warn(arg0 string, arg1 ...interface{})
Warn mocks base method.
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger.
func (*MockLoggerMockRecorder) Debug ¶
func (mr *MockLoggerMockRecorder) Debug(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Debug indicates an expected call of Debug.
func (*MockLoggerMockRecorder) Error ¶
func (mr *MockLoggerMockRecorder) Error(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Error indicates an expected call of Error.
func (*MockLoggerMockRecorder) Fatal ¶
func (mr *MockLoggerMockRecorder) Fatal(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Fatal indicates an expected call of Fatal.
func (*MockLoggerMockRecorder) Info ¶
func (mr *MockLoggerMockRecorder) Info(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Info indicates an expected call of Info.
func (*MockLoggerMockRecorder) Warn ¶
func (mr *MockLoggerMockRecorder) Warn(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Warn indicates an expected call of Warn.