Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockRepository
- func (m *MockRepository) Close() error
- func (m *MockRepository) CreateStream(ctx context.Context, stream, table string) error
- func (m *MockRepository) CreateTrackingTable(ctx context.Context, trackingTable, table string) error
- func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
- func (m *MockRepository) GetData(ctx context.Context, table, key string, fields []string, offset, limit int) ([]map[string]interface{}, error)
- func (m *MockRepository) GetTrackingData(ctx context.Context, stream, trackingTable string, fields []string, ...) ([]map[string]interface{}, error)
- type MockRepositoryMockRecorder
- func (mr *MockRepositoryMockRecorder) Close() *gomock.Call
- func (mr *MockRepositoryMockRecorder) CreateStream(ctx, stream, table interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) CreateTrackingTable(ctx, trackingTable, table interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetData(ctx, table, key, fields, offset, limit interface{}) *gomock.Call
- func (mr *MockRepositoryMockRecorder) GetTrackingData(ctx, stream, trackingTable, fields, offset, limit interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepository ¶
type MockRepository struct {
// contains filtered or unexported fields
}
MockRepository is a mock of Repository interface.
func NewMockRepository ¶
func NewMockRepository(ctrl *gomock.Controller) *MockRepository
NewMockRepository creates a new mock instance.
func (*MockRepository) CreateStream ¶
func (m *MockRepository) CreateStream(ctx context.Context, stream, table string) error
CreateStream mocks base method.
func (*MockRepository) CreateTrackingTable ¶
func (m *MockRepository) CreateTrackingTable(ctx context.Context, trackingTable, table string) error
CreateTrackingTable mocks base method.
func (*MockRepository) EXPECT ¶
func (m *MockRepository) EXPECT() *MockRepositoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepository) GetData ¶
func (m *MockRepository) GetData(ctx context.Context, table, key string, fields []string, offset, limit int) ([]map[string]interface{}, error)
GetData mocks base method.
func (*MockRepository) GetTrackingData ¶
func (m *MockRepository) GetTrackingData(ctx context.Context, stream, trackingTable string, fields []string, offset, limit int) ([]map[string]interface{}, error)
GetTrackingData mocks base method.
type MockRepositoryMockRecorder ¶
type MockRepositoryMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryMockRecorder is the mock recorder for MockRepository.
func (*MockRepositoryMockRecorder) Close ¶
func (mr *MockRepositoryMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRepositoryMockRecorder) CreateStream ¶
func (mr *MockRepositoryMockRecorder) CreateStream(ctx, stream, table interface{}) *gomock.Call
CreateStream indicates an expected call of CreateStream.
func (*MockRepositoryMockRecorder) CreateTrackingTable ¶
func (mr *MockRepositoryMockRecorder) CreateTrackingTable(ctx, trackingTable, table interface{}) *gomock.Call
CreateTrackingTable indicates an expected call of CreateTrackingTable.
func (*MockRepositoryMockRecorder) GetData ¶
func (mr *MockRepositoryMockRecorder) GetData(ctx, table, key, fields, offset, limit interface{}) *gomock.Call
GetData indicates an expected call of GetData.
func (*MockRepositoryMockRecorder) GetTrackingData ¶
func (mr *MockRepositoryMockRecorder) GetTrackingData(ctx, stream, trackingTable, fields, offset, limit interface{}) *gomock.Call
GetTrackingData indicates an expected call of GetTrackingData.