Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTimeSeriesRepository
- func (m *MockTimeSeriesRepository) BatchInsertTimeSeriesData(arg0 context.Context, arg1 []models.TimeSeriesData) error
- func (m *MockTimeSeriesRepository) Close() error
- func (m *MockTimeSeriesRepository) EXPECT() *MockTimeSeriesRepositoryMockRecorder
- func (m *MockTimeSeriesRepository) InsertTimeSeriesData(arg0 time.Time, arg1 float64) error
- func (m *MockTimeSeriesRepository) Query(arg0 context.Context, arg1, arg2 time.Time, arg3, arg4 string) ([]models.TimeSeriesData, error)
- type MockTimeSeriesRepositoryMockRecorder
- func (mr *MockTimeSeriesRepositoryMockRecorder) BatchInsertTimeSeriesData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTimeSeriesRepositoryMockRecorder) Close() *gomock.Call
- func (mr *MockTimeSeriesRepositoryMockRecorder) InsertTimeSeriesData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTimeSeriesRepositoryMockRecorder) Query(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
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 ¶
func (m *MockTimeSeriesRepository) EXPECT() *MockTimeSeriesRepositoryMockRecorder
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.
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 ¶
func (mr *MockTimeSeriesRepositoryMockRecorder) Close() *gomock.Call
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.