Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockWriter
- func (m *MockWriter) Close(ctx context.Context) error
- func (m *MockWriter) Delete(ctx context.Context, record sdk.Record) error
- func (m *MockWriter) EXPECT() *MockWriterMockRecorder
- func (m *MockWriter) Insert(ctx context.Context, record sdk.Record) error
- func (m *MockWriter) Update(ctx context.Context, record sdk.Record) error
- type MockWriterMockRecorder
- func (mr *MockWriterMockRecorder) Close(ctx interface{}) *gomock.Call
- func (mr *MockWriterMockRecorder) Delete(ctx, record interface{}) *gomock.Call
- func (mr *MockWriterMockRecorder) Insert(ctx, record interface{}) *gomock.Call
- func (mr *MockWriterMockRecorder) Update(ctx, record interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWriter ¶
type MockWriter struct {
// contains filtered or unexported fields
}
MockWriter is a mock of Writer interface.
func NewMockWriter ¶
func NewMockWriter(ctrl *gomock.Controller) *MockWriter
NewMockWriter creates a new mock instance.
func (*MockWriter) Close ¶
func (m *MockWriter) Close(ctx context.Context) error
Close mocks base method.
func (*MockWriter) EXPECT ¶
func (m *MockWriter) EXPECT() *MockWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockWriterMockRecorder ¶
type MockWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockWriterMockRecorder is the mock recorder for MockWriter.
func (*MockWriterMockRecorder) Close ¶
func (mr *MockWriterMockRecorder) Close(ctx interface{}) *gomock.Call
Close indicates an expected call of Close.
func (*MockWriterMockRecorder) Delete ¶
func (mr *MockWriterMockRecorder) Delete(ctx, record interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockWriterMockRecorder) Insert ¶
func (mr *MockWriterMockRecorder) Insert(ctx, record interface{}) *gomock.Call
Insert indicates an expected call of Insert.
func (*MockWriterMockRecorder) Update ¶
func (mr *MockWriterMockRecorder) Update(ctx, record interface{}) *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.