Documentation ¶
Overview ¶
Package mock_postdog is a generated GoMock package.
Package mock_postdog is a generated GoMock package.
Package mock_postdog is a generated GoMock package.
Index ¶
- type MockLogger
- type MockLoggerMockRecorder
- type MockMiddleware
- type MockMiddlewareMockRecorder
- type MockPlugin
- type MockPluginContext
- func (m *MockPluginContext) EXPECT() *MockPluginContextMockRecorder
- func (m *MockPluginContext) Log(arg0 ...interface{})
- func (m *MockPluginContext) WithMiddleware(arg0 ...postdog.Middleware)
- func (m *MockPluginContext) WithSendHook(arg0 postdog.SendHook, arg1 ...func(context.Context, letter.Letter))
- type MockPluginContextMockRecorder
- type MockPluginMockRecorder
- type MockTransport
- type MockTransportMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) EXPECT ¶
func (m *MockLogger) EXPECT() *MockLoggerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockLoggerMockRecorder ¶
type MockLoggerMockRecorder struct {
// contains filtered or unexported fields
}
MockLoggerMockRecorder is the mock recorder for MockLogger
func (*MockLoggerMockRecorder) Log ¶
func (mr *MockLoggerMockRecorder) Log(v ...interface{}) *gomock.Call
Log indicates an expected call of Log
type MockMiddleware ¶
type MockMiddleware struct {
// contains filtered or unexported fields
}
MockMiddleware is a mock of Middleware interface
func NewMockMiddleware ¶
func NewMockMiddleware(ctrl *gomock.Controller) *MockMiddleware
NewMockMiddleware creates a new mock instance
func (*MockMiddleware) EXPECT ¶
func (m *MockMiddleware) EXPECT() *MockMiddlewareMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockMiddlewareMockRecorder ¶
type MockMiddlewareMockRecorder struct {
// contains filtered or unexported fields
}
MockMiddlewareMockRecorder is the mock recorder for MockMiddleware
func (*MockMiddlewareMockRecorder) Handle ¶
func (mr *MockMiddlewareMockRecorder) Handle(ctx, let, next interface{}) *gomock.Call
Handle indicates an expected call of Handle
type MockPlugin ¶
type MockPlugin struct {
// contains filtered or unexported fields
}
MockPlugin is a mock of Plugin interface
func NewMockPlugin ¶
func NewMockPlugin(ctrl *gomock.Controller) *MockPlugin
NewMockPlugin creates a new mock instance
func (*MockPlugin) EXPECT ¶
func (m *MockPlugin) EXPECT() *MockPluginMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPlugin) Install ¶
func (m *MockPlugin) Install(arg0 postdog.PluginContext)
Install mocks base method
type MockPluginContext ¶
type MockPluginContext struct {
// contains filtered or unexported fields
}
MockPluginContext is a mock of PluginContext interface
func NewMockPluginContext ¶
func NewMockPluginContext(ctrl *gomock.Controller) *MockPluginContext
NewMockPluginContext creates a new mock instance
func (*MockPluginContext) EXPECT ¶
func (m *MockPluginContext) EXPECT() *MockPluginContextMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPluginContext) Log ¶
func (m *MockPluginContext) Log(arg0 ...interface{})
Log mocks base method
func (*MockPluginContext) WithMiddleware ¶
func (m *MockPluginContext) WithMiddleware(arg0 ...postdog.Middleware)
WithMiddleware mocks base method
func (*MockPluginContext) WithSendHook ¶
func (m *MockPluginContext) WithSendHook(arg0 postdog.SendHook, arg1 ...func(context.Context, letter.Letter))
WithSendHook mocks base method
type MockPluginContextMockRecorder ¶
type MockPluginContextMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginContextMockRecorder is the mock recorder for MockPluginContext
func (*MockPluginContextMockRecorder) Log ¶
func (mr *MockPluginContextMockRecorder) Log(arg0 ...interface{}) *gomock.Call
Log indicates an expected call of Log
func (*MockPluginContextMockRecorder) WithMiddleware ¶
func (mr *MockPluginContextMockRecorder) WithMiddleware(arg0 ...interface{}) *gomock.Call
WithMiddleware indicates an expected call of WithMiddleware
func (*MockPluginContextMockRecorder) WithSendHook ¶
func (mr *MockPluginContextMockRecorder) WithSendHook(arg0 interface{}, arg1 ...interface{}) *gomock.Call
WithSendHook indicates an expected call of WithSendHook
type MockPluginMockRecorder ¶
type MockPluginMockRecorder struct {
// contains filtered or unexported fields
}
MockPluginMockRecorder is the mock recorder for MockPlugin
func (*MockPluginMockRecorder) Install ¶
func (mr *MockPluginMockRecorder) Install(arg0 interface{}) *gomock.Call
Install indicates an expected call of Install
type MockTransport ¶
type MockTransport struct {
// contains filtered or unexported fields
}
MockTransport is a mock of Transport interface
func NewMockTransport ¶
func NewMockTransport(ctrl *gomock.Controller) *MockTransport
NewMockTransport creates a new mock instance
func (*MockTransport) EXPECT ¶
func (m *MockTransport) EXPECT() *MockTransportMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTransportMockRecorder ¶
type MockTransportMockRecorder struct {
// contains filtered or unexported fields
}
MockTransportMockRecorder is the mock recorder for MockTransport
func (*MockTransportMockRecorder) Send ¶
func (mr *MockTransportMockRecorder) Send(arg0, arg1 interface{}) *gomock.Call
Send indicates an expected call of Send