mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockTimeSeriesRepository

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

MockTimeSeriesRepository is a mock of TimeSeriesRepository interface.

func NewMockTimeSeriesRepository

func NewMockTimeSeriesRepository(ctrl *gomock.Controller) *MockTimeSeriesRepository

NewMockTimeSeriesRepository creates a new mock instance.

func (*MockTimeSeriesRepository) BatchInsertTimeSeriesData

func (m *MockTimeSeriesRepository) BatchInsertTimeSeriesData(arg0 context.Context, arg1 []models.TimeSeriesData) error

BatchInsertTimeSeriesData mocks base method.

func (*MockTimeSeriesRepository) Close

func (m *MockTimeSeriesRepository) Close() error

Close mocks base method.

func (*MockTimeSeriesRepository) EXPECT

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

func (*MockTimeSeriesRepository) InsertTimeSeriesData

func (m *MockTimeSeriesRepository) InsertTimeSeriesData(arg0 time.Time, arg1 float64) error

InsertTimeSeriesData mocks base method.

func (*MockTimeSeriesRepository) Query

func (m *MockTimeSeriesRepository) Query(arg0 context.Context, arg1, arg2 time.Time, arg3, arg4 string) ([]models.TimeSeriesData, error)

Query mocks base method.

type MockTimeSeriesRepositoryMockRecorder

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

MockTimeSeriesRepositoryMockRecorder is the mock recorder for MockTimeSeriesRepository.

func (*MockTimeSeriesRepositoryMockRecorder) BatchInsertTimeSeriesData

func (mr *MockTimeSeriesRepositoryMockRecorder) BatchInsertTimeSeriesData(arg0, arg1 interface{}) *gomock.Call

BatchInsertTimeSeriesData indicates an expected call of BatchInsertTimeSeriesData.

func (*MockTimeSeriesRepositoryMockRecorder) Close

Close indicates an expected call of Close.

func (*MockTimeSeriesRepositoryMockRecorder) InsertTimeSeriesData

func (mr *MockTimeSeriesRepositoryMockRecorder) InsertTimeSeriesData(arg0, arg1 interface{}) *gomock.Call

InsertTimeSeriesData indicates an expected call of InsertTimeSeriesData.

func (*MockTimeSeriesRepositoryMockRecorder) Query

func (mr *MockTimeSeriesRepositoryMockRecorder) Query(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Query indicates an expected call of Query.

Jump to

Keyboard shortcuts

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