mock

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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) Close

func (m *MockRepository) Close() error

Close mocks base method.

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL