mock_db

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_db is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTrackingDB

type MockTrackingDB struct {
	// contains filtered or unexported fields
}

MockTrackingDB is a mock of TrackingDB interface.

func NewMockTrackingDB

func NewMockTrackingDB(ctrl *gomock.Controller) *MockTrackingDB

NewMockTrackingDB creates a new mock instance.

func (*MockTrackingDB) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockTrackingDB) GetChConn

func (m *MockTrackingDB) GetChConn() driver.Conn

GetChConn mocks base method.

func (*MockTrackingDB) GetLastPoints

func (m *MockTrackingDB) GetLastPoints(ctx context.Context, imeiList []string) ([]*devicev1.AVLData, error)

GetLastPoints mocks base method.

func (*MockTrackingDB) GetPgConn

func (m *MockTrackingDB) GetPgConn() *pgxpool.Pool

GetPgConn mocks base method.

func (*MockTrackingDB) GetSQLBuilder

func (m *MockTrackingDB) GetSQLBuilder() squirrel.StatementBuilderType

GetSQLBuilder mocks base method.

type MockTrackingDBMockRecorder

type MockTrackingDBMockRecorder struct {
	// contains filtered or unexported fields
}

MockTrackingDBMockRecorder is the mock recorder for MockTrackingDB.

func (*MockTrackingDBMockRecorder) GetChConn

func (mr *MockTrackingDBMockRecorder) GetChConn() *gomock.Call

GetChConn indicates an expected call of GetChConn.

func (*MockTrackingDBMockRecorder) GetLastPoints

func (mr *MockTrackingDBMockRecorder) GetLastPoints(ctx, imeiList interface{}) *gomock.Call

GetLastPoints indicates an expected call of GetLastPoints.

func (*MockTrackingDBMockRecorder) GetPgConn

func (mr *MockTrackingDBMockRecorder) GetPgConn() *gomock.Call

GetPgConn indicates an expected call of GetPgConn.

func (*MockTrackingDBMockRecorder) GetSQLBuilder

func (mr *MockTrackingDBMockRecorder) GetSQLBuilder() *gomock.Call

GetSQLBuilder indicates an expected call of GetSQLBuilder.

Jump to

Keyboard shortcuts

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