Documentation
¶
Index ¶
- type MockBatchDeleteBeats
- type MockBatchDeleteBeats_Exec_Call
- func (_c *MockBatchDeleteBeats_Exec_Call) Return(_a0 []*entities.Beat, _a1 error) *MockBatchDeleteBeats_Exec_Call
- func (_c *MockBatchDeleteBeats_Exec_Call) Run(run func(ctx context.Context, ids uuid.UUIDs, creatorID string)) *MockBatchDeleteBeats_Exec_Call
- func (_c *MockBatchDeleteBeats_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUIDs, string) ([]*entities.Beat, error)) *MockBatchDeleteBeats_Exec_Call
- type MockBatchDeleteBeats_Expecter
- type MockBatchDeletePlotPoints
- type MockBatchDeletePlotPoints_Exec_Call
- func (_c *MockBatchDeletePlotPoints_Exec_Call) Return(_a0 []*entities.PlotPoint, _a1 error) *MockBatchDeletePlotPoints_Exec_Call
- func (_c *MockBatchDeletePlotPoints_Exec_Call) Run(run func(ctx context.Context, ids uuid.UUIDs, creatorID string)) *MockBatchDeletePlotPoints_Exec_Call
- func (_c *MockBatchDeletePlotPoints_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUIDs, string) ([]*entities.PlotPoint, error)) *MockBatchDeletePlotPoints_Exec_Call
- type MockBatchDeletePlotPoints_Expecter
- type MockCreateBeat
- type MockCreateBeat_Exec_Call
- type MockCreateBeat_Expecter
- type MockCreatePlotPoint
- type MockCreatePlotPoint_Exec_Call
- func (_c *MockCreatePlotPoint_Exec_Call) Return(_a0 *entities.PlotPoint, _a1 error) *MockCreatePlotPoint_Exec_Call
- func (_c *MockCreatePlotPoint_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, now time.Time, ...)) *MockCreatePlotPoint_Exec_Call
- func (_c *MockCreatePlotPoint_Exec_Call) RunAndReturn(...) *MockCreatePlotPoint_Exec_Call
- type MockCreatePlotPoint_Expecter
- type MockDeleteBeat
- type MockDeleteBeat_Exec_Call
- func (_c *MockDeleteBeat_Exec_Call) Return(_a0 *entities.Beat, _a1 error) *MockDeleteBeat_Exec_Call
- func (_c *MockDeleteBeat_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, creatorID string)) *MockDeleteBeat_Exec_Call
- func (_c *MockDeleteBeat_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID, string) (*entities.Beat, error)) *MockDeleteBeat_Exec_Call
- type MockDeleteBeat_Expecter
- type MockDeletePlotPoint
- type MockDeletePlotPoint_Exec_Call
- func (_c *MockDeletePlotPoint_Exec_Call) Return(_a0 *entities.PlotPoint, _a1 error) *MockDeletePlotPoint_Exec_Call
- func (_c *MockDeletePlotPoint_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, creatorID string)) *MockDeletePlotPoint_Exec_Call
- func (_c *MockDeletePlotPoint_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID, string) (*entities.PlotPoint, error)) *MockDeletePlotPoint_Exec_Call
- type MockDeletePlotPoint_Expecter
- type MockGetBeat
- type MockGetBeat_Exec_Call
- func (_c *MockGetBeat_Exec_Call) Return(_a0 *entities.Beat, _a1 error) *MockGetBeat_Exec_Call
- func (_c *MockGetBeat_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MockGetBeat_Exec_Call
- func (_c *MockGetBeat_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID) (*entities.Beat, error)) *MockGetBeat_Exec_Call
- type MockGetBeat_Expecter
- type MockGetPlotPoint
- type MockGetPlotPoint_Exec_Call
- func (_c *MockGetPlotPoint_Exec_Call) Return(_a0 *entities.PlotPoint, _a1 error) *MockGetPlotPoint_Exec_Call
- func (_c *MockGetPlotPoint_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MockGetPlotPoint_Exec_Call
- func (_c *MockGetPlotPoint_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID) (*entities.PlotPoint, error)) *MockGetPlotPoint_Exec_Call
- type MockGetPlotPoint_Expecter
- type MockListBeats
- type MockListBeats_Exec_Call
- func (_c *MockListBeats_Exec_Call) Return(_a0 []*entities.Beat, _a1 error) *MockListBeats_Exec_Call
- func (_c *MockListBeats_Exec_Call) Run(run func(ctx context.Context, ids []uuid.UUID)) *MockListBeats_Exec_Call
- func (_c *MockListBeats_Exec_Call) RunAndReturn(run func(context.Context, []uuid.UUID) ([]*entities.Beat, error)) *MockListBeats_Exec_Call
- type MockListBeats_Expecter
- type MockListPlotPoints
- type MockListPlotPoints_Exec_Call
- func (_c *MockListPlotPoints_Exec_Call) Return(_a0 []*entities.PlotPoint, _a1 error) *MockListPlotPoints_Exec_Call
- func (_c *MockListPlotPoints_Exec_Call) Run(run func(ctx context.Context, ids []uuid.UUID)) *MockListPlotPoints_Exec_Call
- func (_c *MockListPlotPoints_Exec_Call) RunAndReturn(run func(context.Context, []uuid.UUID) ([]*entities.PlotPoint, error)) *MockListPlotPoints_Exec_Call
- type MockListPlotPoints_Expecter
- type MockSearchBeats
- type MockSearchBeats_Exec_Call
- func (_c *MockSearchBeats_Exec_Call) Return(_a0 uuid.UUIDs, _a1 error) *MockSearchBeats_Exec_Call
- func (_c *MockSearchBeats_Exec_Call) Run(run func(ctx context.Context, request *dao.SearchBeatsRequest)) *MockSearchBeats_Exec_Call
- func (_c *MockSearchBeats_Exec_Call) RunAndReturn(run func(context.Context, *dao.SearchBeatsRequest) (uuid.UUIDs, error)) *MockSearchBeats_Exec_Call
- type MockSearchBeats_Expecter
- type MockSearchPlotPoints
- type MockSearchPlotPoints_Exec_Call
- func (_c *MockSearchPlotPoints_Exec_Call) Return(_a0 uuid.UUIDs, _a1 error) *MockSearchPlotPoints_Exec_Call
- func (_c *MockSearchPlotPoints_Exec_Call) Run(run func(ctx context.Context, request *dao.SearchPlotPointsRequest)) *MockSearchPlotPoints_Exec_Call
- func (_c *MockSearchPlotPoints_Exec_Call) RunAndReturn(run func(context.Context, *dao.SearchPlotPointsRequest) (uuid.UUIDs, error)) *MockSearchPlotPoints_Exec_Call
- type MockSearchPlotPoints_Expecter
- type MockUpdateBeat
- type MockUpdateBeat_Exec_Call
- type MockUpdateBeat_Expecter
- type MockUpdatePlotPoint
- type MockUpdatePlotPoint_Exec_Call
- func (_c *MockUpdatePlotPoint_Exec_Call) Return(_a0 *entities.PlotPoint, _a1 error) *MockUpdatePlotPoint_Exec_Call
- func (_c *MockUpdatePlotPoint_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, now time.Time, ...)) *MockUpdatePlotPoint_Exec_Call
- func (_c *MockUpdatePlotPoint_Exec_Call) RunAndReturn(...) *MockUpdatePlotPoint_Exec_Call
- type MockUpdatePlotPoint_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBatchDeleteBeats ¶
MockBatchDeleteBeats is an autogenerated mock type for the BatchDeleteBeats type
func NewMockBatchDeleteBeats ¶
func NewMockBatchDeleteBeats(t interface { mock.TestingT Cleanup(func()) }) *MockBatchDeleteBeats
NewMockBatchDeleteBeats creates a new instance of MockBatchDeleteBeats. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockBatchDeleteBeats) EXPECT ¶
func (_m *MockBatchDeleteBeats) EXPECT() *MockBatchDeleteBeats_Expecter
type MockBatchDeleteBeats_Exec_Call ¶
MockBatchDeleteBeats_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockBatchDeleteBeats_Exec_Call) Return ¶
func (_c *MockBatchDeleteBeats_Exec_Call) Return(_a0 []*entities.Beat, _a1 error) *MockBatchDeleteBeats_Exec_Call
func (*MockBatchDeleteBeats_Exec_Call) Run ¶
func (_c *MockBatchDeleteBeats_Exec_Call) Run(run func(ctx context.Context, ids uuid.UUIDs, creatorID string)) *MockBatchDeleteBeats_Exec_Call
func (*MockBatchDeleteBeats_Exec_Call) RunAndReturn ¶
func (_c *MockBatchDeleteBeats_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUIDs, string) ([]*entities.Beat, error)) *MockBatchDeleteBeats_Exec_Call
type MockBatchDeleteBeats_Expecter ¶
type MockBatchDeleteBeats_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBatchDeleteBeats_Expecter) Exec ¶
func (_e *MockBatchDeleteBeats_Expecter) Exec(ctx interface{}, ids interface{}, creatorID interface{}) *MockBatchDeleteBeats_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- ids uuid.UUIDs
- creatorID string
type MockBatchDeletePlotPoints ¶
MockBatchDeletePlotPoints is an autogenerated mock type for the BatchDeletePlotPoints type
func NewMockBatchDeletePlotPoints ¶
func NewMockBatchDeletePlotPoints(t interface { mock.TestingT Cleanup(func()) }) *MockBatchDeletePlotPoints
NewMockBatchDeletePlotPoints creates a new instance of MockBatchDeletePlotPoints. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockBatchDeletePlotPoints) EXPECT ¶
func (_m *MockBatchDeletePlotPoints) EXPECT() *MockBatchDeletePlotPoints_Expecter
type MockBatchDeletePlotPoints_Exec_Call ¶
MockBatchDeletePlotPoints_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockBatchDeletePlotPoints_Exec_Call) Return ¶
func (_c *MockBatchDeletePlotPoints_Exec_Call) Return(_a0 []*entities.PlotPoint, _a1 error) *MockBatchDeletePlotPoints_Exec_Call
func (*MockBatchDeletePlotPoints_Exec_Call) Run ¶
func (_c *MockBatchDeletePlotPoints_Exec_Call) Run(run func(ctx context.Context, ids uuid.UUIDs, creatorID string)) *MockBatchDeletePlotPoints_Exec_Call
func (*MockBatchDeletePlotPoints_Exec_Call) RunAndReturn ¶
func (_c *MockBatchDeletePlotPoints_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUIDs, string) ([]*entities.PlotPoint, error)) *MockBatchDeletePlotPoints_Exec_Call
type MockBatchDeletePlotPoints_Expecter ¶
type MockBatchDeletePlotPoints_Expecter struct {
// contains filtered or unexported fields
}
func (*MockBatchDeletePlotPoints_Expecter) Exec ¶
func (_e *MockBatchDeletePlotPoints_Expecter) Exec(ctx interface{}, ids interface{}, creatorID interface{}) *MockBatchDeletePlotPoints_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- ids uuid.UUIDs
- creatorID string
type MockCreateBeat ¶
MockCreateBeat is an autogenerated mock type for the CreateBeat type
func NewMockCreateBeat ¶
func NewMockCreateBeat(t interface { mock.TestingT Cleanup(func()) }) *MockCreateBeat
NewMockCreateBeat creates a new instance of MockCreateBeat. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCreateBeat) EXPECT ¶
func (_m *MockCreateBeat) EXPECT() *MockCreateBeat_Expecter
type MockCreateBeat_Exec_Call ¶
MockCreateBeat_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockCreateBeat_Exec_Call) Return ¶
func (_c *MockCreateBeat_Exec_Call) Return(_a0 *entities.Beat, _a1 error) *MockCreateBeat_Exec_Call
func (*MockCreateBeat_Exec_Call) Run ¶
func (_c *MockCreateBeat_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, now time.Time, data *dao.CreateBeatRequest)) *MockCreateBeat_Exec_Call
func (*MockCreateBeat_Exec_Call) RunAndReturn ¶
func (_c *MockCreateBeat_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID, time.Time, *dao.CreateBeatRequest) (*entities.Beat, error)) *MockCreateBeat_Exec_Call
type MockCreateBeat_Expecter ¶
type MockCreateBeat_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCreateBeat_Expecter) Exec ¶
func (_e *MockCreateBeat_Expecter) Exec(ctx interface{}, id interface{}, now interface{}, data interface{}) *MockCreateBeat_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- now time.Time
- data *dao.CreateBeatRequest
type MockCreatePlotPoint ¶
MockCreatePlotPoint is an autogenerated mock type for the CreatePlotPoint type
func NewMockCreatePlotPoint ¶
func NewMockCreatePlotPoint(t interface { mock.TestingT Cleanup(func()) }) *MockCreatePlotPoint
NewMockCreatePlotPoint creates a new instance of MockCreatePlotPoint. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockCreatePlotPoint) EXPECT ¶
func (_m *MockCreatePlotPoint) EXPECT() *MockCreatePlotPoint_Expecter
type MockCreatePlotPoint_Exec_Call ¶
MockCreatePlotPoint_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockCreatePlotPoint_Exec_Call) Return ¶
func (_c *MockCreatePlotPoint_Exec_Call) Return(_a0 *entities.PlotPoint, _a1 error) *MockCreatePlotPoint_Exec_Call
func (*MockCreatePlotPoint_Exec_Call) Run ¶
func (_c *MockCreatePlotPoint_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, now time.Time, data *dao.CreatePlotPointRequest)) *MockCreatePlotPoint_Exec_Call
func (*MockCreatePlotPoint_Exec_Call) RunAndReturn ¶
func (_c *MockCreatePlotPoint_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID, time.Time, *dao.CreatePlotPointRequest) (*entities.PlotPoint, error)) *MockCreatePlotPoint_Exec_Call
type MockCreatePlotPoint_Expecter ¶
type MockCreatePlotPoint_Expecter struct {
// contains filtered or unexported fields
}
func (*MockCreatePlotPoint_Expecter) Exec ¶
func (_e *MockCreatePlotPoint_Expecter) Exec(ctx interface{}, id interface{}, now interface{}, data interface{}) *MockCreatePlotPoint_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- now time.Time
- data *dao.CreatePlotPointRequest
type MockDeleteBeat ¶
MockDeleteBeat is an autogenerated mock type for the DeleteBeat type
func NewMockDeleteBeat ¶
func NewMockDeleteBeat(t interface { mock.TestingT Cleanup(func()) }) *MockDeleteBeat
NewMockDeleteBeat creates a new instance of MockDeleteBeat. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockDeleteBeat) EXPECT ¶
func (_m *MockDeleteBeat) EXPECT() *MockDeleteBeat_Expecter
type MockDeleteBeat_Exec_Call ¶
MockDeleteBeat_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockDeleteBeat_Exec_Call) Return ¶
func (_c *MockDeleteBeat_Exec_Call) Return(_a0 *entities.Beat, _a1 error) *MockDeleteBeat_Exec_Call
func (*MockDeleteBeat_Exec_Call) Run ¶
func (_c *MockDeleteBeat_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, creatorID string)) *MockDeleteBeat_Exec_Call
func (*MockDeleteBeat_Exec_Call) RunAndReturn ¶
func (_c *MockDeleteBeat_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID, string) (*entities.Beat, error)) *MockDeleteBeat_Exec_Call
type MockDeleteBeat_Expecter ¶
type MockDeleteBeat_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDeleteBeat_Expecter) Exec ¶
func (_e *MockDeleteBeat_Expecter) Exec(ctx interface{}, id interface{}, creatorID interface{}) *MockDeleteBeat_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- creatorID string
type MockDeletePlotPoint ¶
MockDeletePlotPoint is an autogenerated mock type for the DeletePlotPoint type
func NewMockDeletePlotPoint ¶
func NewMockDeletePlotPoint(t interface { mock.TestingT Cleanup(func()) }) *MockDeletePlotPoint
NewMockDeletePlotPoint creates a new instance of MockDeletePlotPoint. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockDeletePlotPoint) EXPECT ¶
func (_m *MockDeletePlotPoint) EXPECT() *MockDeletePlotPoint_Expecter
type MockDeletePlotPoint_Exec_Call ¶
MockDeletePlotPoint_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockDeletePlotPoint_Exec_Call) Return ¶
func (_c *MockDeletePlotPoint_Exec_Call) Return(_a0 *entities.PlotPoint, _a1 error) *MockDeletePlotPoint_Exec_Call
func (*MockDeletePlotPoint_Exec_Call) Run ¶
func (_c *MockDeletePlotPoint_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, creatorID string)) *MockDeletePlotPoint_Exec_Call
func (*MockDeletePlotPoint_Exec_Call) RunAndReturn ¶
func (_c *MockDeletePlotPoint_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID, string) (*entities.PlotPoint, error)) *MockDeletePlotPoint_Exec_Call
type MockDeletePlotPoint_Expecter ¶
type MockDeletePlotPoint_Expecter struct {
// contains filtered or unexported fields
}
func (*MockDeletePlotPoint_Expecter) Exec ¶
func (_e *MockDeletePlotPoint_Expecter) Exec(ctx interface{}, id interface{}, creatorID interface{}) *MockDeletePlotPoint_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- creatorID string
type MockGetBeat ¶
MockGetBeat is an autogenerated mock type for the GetBeat type
func NewMockGetBeat ¶
func NewMockGetBeat(t interface { mock.TestingT Cleanup(func()) }) *MockGetBeat
NewMockGetBeat creates a new instance of MockGetBeat. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockGetBeat) EXPECT ¶
func (_m *MockGetBeat) EXPECT() *MockGetBeat_Expecter
type MockGetBeat_Exec_Call ¶
MockGetBeat_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockGetBeat_Exec_Call) Return ¶
func (_c *MockGetBeat_Exec_Call) Return(_a0 *entities.Beat, _a1 error) *MockGetBeat_Exec_Call
func (*MockGetBeat_Exec_Call) Run ¶
func (_c *MockGetBeat_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MockGetBeat_Exec_Call
func (*MockGetBeat_Exec_Call) RunAndReturn ¶
func (_c *MockGetBeat_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID) (*entities.Beat, error)) *MockGetBeat_Exec_Call
type MockGetBeat_Expecter ¶
type MockGetBeat_Expecter struct {
// contains filtered or unexported fields
}
func (*MockGetBeat_Expecter) Exec ¶
func (_e *MockGetBeat_Expecter) Exec(ctx interface{}, id interface{}) *MockGetBeat_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
type MockGetPlotPoint ¶
MockGetPlotPoint is an autogenerated mock type for the GetPlotPoint type
func NewMockGetPlotPoint ¶
func NewMockGetPlotPoint(t interface { mock.TestingT Cleanup(func()) }) *MockGetPlotPoint
NewMockGetPlotPoint creates a new instance of MockGetPlotPoint. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockGetPlotPoint) EXPECT ¶
func (_m *MockGetPlotPoint) EXPECT() *MockGetPlotPoint_Expecter
type MockGetPlotPoint_Exec_Call ¶
MockGetPlotPoint_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockGetPlotPoint_Exec_Call) Return ¶
func (_c *MockGetPlotPoint_Exec_Call) Return(_a0 *entities.PlotPoint, _a1 error) *MockGetPlotPoint_Exec_Call
func (*MockGetPlotPoint_Exec_Call) Run ¶
func (_c *MockGetPlotPoint_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID)) *MockGetPlotPoint_Exec_Call
func (*MockGetPlotPoint_Exec_Call) RunAndReturn ¶
func (_c *MockGetPlotPoint_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID) (*entities.PlotPoint, error)) *MockGetPlotPoint_Exec_Call
type MockGetPlotPoint_Expecter ¶
type MockGetPlotPoint_Expecter struct {
// contains filtered or unexported fields
}
func (*MockGetPlotPoint_Expecter) Exec ¶
func (_e *MockGetPlotPoint_Expecter) Exec(ctx interface{}, id interface{}) *MockGetPlotPoint_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
type MockListBeats ¶
MockListBeats is an autogenerated mock type for the ListBeats type
func NewMockListBeats ¶
func NewMockListBeats(t interface { mock.TestingT Cleanup(func()) }) *MockListBeats
NewMockListBeats creates a new instance of MockListBeats. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockListBeats) EXPECT ¶
func (_m *MockListBeats) EXPECT() *MockListBeats_Expecter
type MockListBeats_Exec_Call ¶
MockListBeats_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockListBeats_Exec_Call) Return ¶
func (_c *MockListBeats_Exec_Call) Return(_a0 []*entities.Beat, _a1 error) *MockListBeats_Exec_Call
func (*MockListBeats_Exec_Call) Run ¶
func (_c *MockListBeats_Exec_Call) Run(run func(ctx context.Context, ids []uuid.UUID)) *MockListBeats_Exec_Call
func (*MockListBeats_Exec_Call) RunAndReturn ¶
func (_c *MockListBeats_Exec_Call) RunAndReturn(run func(context.Context, []uuid.UUID) ([]*entities.Beat, error)) *MockListBeats_Exec_Call
type MockListBeats_Expecter ¶
type MockListBeats_Expecter struct {
// contains filtered or unexported fields
}
func (*MockListBeats_Expecter) Exec ¶
func (_e *MockListBeats_Expecter) Exec(ctx interface{}, ids interface{}) *MockListBeats_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- ids []uuid.UUID
type MockListPlotPoints ¶
MockListPlotPoints is an autogenerated mock type for the ListPlotPoints type
func NewMockListPlotPoints ¶
func NewMockListPlotPoints(t interface { mock.TestingT Cleanup(func()) }) *MockListPlotPoints
NewMockListPlotPoints creates a new instance of MockListPlotPoints. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockListPlotPoints) EXPECT ¶
func (_m *MockListPlotPoints) EXPECT() *MockListPlotPoints_Expecter
type MockListPlotPoints_Exec_Call ¶
MockListPlotPoints_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockListPlotPoints_Exec_Call) Return ¶
func (_c *MockListPlotPoints_Exec_Call) Return(_a0 []*entities.PlotPoint, _a1 error) *MockListPlotPoints_Exec_Call
func (*MockListPlotPoints_Exec_Call) Run ¶
func (_c *MockListPlotPoints_Exec_Call) Run(run func(ctx context.Context, ids []uuid.UUID)) *MockListPlotPoints_Exec_Call
func (*MockListPlotPoints_Exec_Call) RunAndReturn ¶
func (_c *MockListPlotPoints_Exec_Call) RunAndReturn(run func(context.Context, []uuid.UUID) ([]*entities.PlotPoint, error)) *MockListPlotPoints_Exec_Call
type MockListPlotPoints_Expecter ¶
type MockListPlotPoints_Expecter struct {
// contains filtered or unexported fields
}
func (*MockListPlotPoints_Expecter) Exec ¶
func (_e *MockListPlotPoints_Expecter) Exec(ctx interface{}, ids interface{}) *MockListPlotPoints_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- ids []uuid.UUID
type MockSearchBeats ¶
MockSearchBeats is an autogenerated mock type for the SearchBeats type
func NewMockSearchBeats ¶
func NewMockSearchBeats(t interface { mock.TestingT Cleanup(func()) }) *MockSearchBeats
NewMockSearchBeats creates a new instance of MockSearchBeats. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockSearchBeats) EXPECT ¶
func (_m *MockSearchBeats) EXPECT() *MockSearchBeats_Expecter
func (*MockSearchBeats) Exec ¶
func (_m *MockSearchBeats) Exec(ctx context.Context, request *dao.SearchBeatsRequest) (uuid.UUIDs, error)
Exec provides a mock function with given fields: ctx, request
type MockSearchBeats_Exec_Call ¶
MockSearchBeats_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockSearchBeats_Exec_Call) Return ¶
func (_c *MockSearchBeats_Exec_Call) Return(_a0 uuid.UUIDs, _a1 error) *MockSearchBeats_Exec_Call
func (*MockSearchBeats_Exec_Call) Run ¶
func (_c *MockSearchBeats_Exec_Call) Run(run func(ctx context.Context, request *dao.SearchBeatsRequest)) *MockSearchBeats_Exec_Call
func (*MockSearchBeats_Exec_Call) RunAndReturn ¶
func (_c *MockSearchBeats_Exec_Call) RunAndReturn(run func(context.Context, *dao.SearchBeatsRequest) (uuid.UUIDs, error)) *MockSearchBeats_Exec_Call
type MockSearchBeats_Expecter ¶
type MockSearchBeats_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSearchBeats_Expecter) Exec ¶
func (_e *MockSearchBeats_Expecter) Exec(ctx interface{}, request interface{}) *MockSearchBeats_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- request *dao.SearchBeatsRequest
type MockSearchPlotPoints ¶
MockSearchPlotPoints is an autogenerated mock type for the SearchPlotPoints type
func NewMockSearchPlotPoints ¶
func NewMockSearchPlotPoints(t interface { mock.TestingT Cleanup(func()) }) *MockSearchPlotPoints
NewMockSearchPlotPoints creates a new instance of MockSearchPlotPoints. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockSearchPlotPoints) EXPECT ¶
func (_m *MockSearchPlotPoints) EXPECT() *MockSearchPlotPoints_Expecter
func (*MockSearchPlotPoints) Exec ¶
func (_m *MockSearchPlotPoints) Exec(ctx context.Context, request *dao.SearchPlotPointsRequest) (uuid.UUIDs, error)
Exec provides a mock function with given fields: ctx, request
type MockSearchPlotPoints_Exec_Call ¶
MockSearchPlotPoints_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockSearchPlotPoints_Exec_Call) Return ¶
func (_c *MockSearchPlotPoints_Exec_Call) Return(_a0 uuid.UUIDs, _a1 error) *MockSearchPlotPoints_Exec_Call
func (*MockSearchPlotPoints_Exec_Call) Run ¶
func (_c *MockSearchPlotPoints_Exec_Call) Run(run func(ctx context.Context, request *dao.SearchPlotPointsRequest)) *MockSearchPlotPoints_Exec_Call
func (*MockSearchPlotPoints_Exec_Call) RunAndReturn ¶
func (_c *MockSearchPlotPoints_Exec_Call) RunAndReturn(run func(context.Context, *dao.SearchPlotPointsRequest) (uuid.UUIDs, error)) *MockSearchPlotPoints_Exec_Call
type MockSearchPlotPoints_Expecter ¶
type MockSearchPlotPoints_Expecter struct {
// contains filtered or unexported fields
}
func (*MockSearchPlotPoints_Expecter) Exec ¶
func (_e *MockSearchPlotPoints_Expecter) Exec(ctx interface{}, request interface{}) *MockSearchPlotPoints_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- request *dao.SearchPlotPointsRequest
type MockUpdateBeat ¶
MockUpdateBeat is an autogenerated mock type for the UpdateBeat type
func NewMockUpdateBeat ¶
func NewMockUpdateBeat(t interface { mock.TestingT Cleanup(func()) }) *MockUpdateBeat
NewMockUpdateBeat creates a new instance of MockUpdateBeat. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockUpdateBeat) EXPECT ¶
func (_m *MockUpdateBeat) EXPECT() *MockUpdateBeat_Expecter
type MockUpdateBeat_Exec_Call ¶
MockUpdateBeat_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockUpdateBeat_Exec_Call) Return ¶
func (_c *MockUpdateBeat_Exec_Call) Return(_a0 *entities.Beat, _a1 error) *MockUpdateBeat_Exec_Call
func (*MockUpdateBeat_Exec_Call) Run ¶
func (_c *MockUpdateBeat_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, now time.Time, data *dao.UpdateBeatRequest)) *MockUpdateBeat_Exec_Call
func (*MockUpdateBeat_Exec_Call) RunAndReturn ¶
func (_c *MockUpdateBeat_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID, time.Time, *dao.UpdateBeatRequest) (*entities.Beat, error)) *MockUpdateBeat_Exec_Call
type MockUpdateBeat_Expecter ¶
type MockUpdateBeat_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUpdateBeat_Expecter) Exec ¶
func (_e *MockUpdateBeat_Expecter) Exec(ctx interface{}, id interface{}, now interface{}, data interface{}) *MockUpdateBeat_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- now time.Time
- data *dao.UpdateBeatRequest
type MockUpdatePlotPoint ¶
MockUpdatePlotPoint is an autogenerated mock type for the UpdatePlotPoint type
func NewMockUpdatePlotPoint ¶
func NewMockUpdatePlotPoint(t interface { mock.TestingT Cleanup(func()) }) *MockUpdatePlotPoint
NewMockUpdatePlotPoint creates a new instance of MockUpdatePlotPoint. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockUpdatePlotPoint) EXPECT ¶
func (_m *MockUpdatePlotPoint) EXPECT() *MockUpdatePlotPoint_Expecter
type MockUpdatePlotPoint_Exec_Call ¶
MockUpdatePlotPoint_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*MockUpdatePlotPoint_Exec_Call) Return ¶
func (_c *MockUpdatePlotPoint_Exec_Call) Return(_a0 *entities.PlotPoint, _a1 error) *MockUpdatePlotPoint_Exec_Call
func (*MockUpdatePlotPoint_Exec_Call) Run ¶
func (_c *MockUpdatePlotPoint_Exec_Call) Run(run func(ctx context.Context, id uuid.UUID, now time.Time, data *dao.UpdatePlotPointRequest)) *MockUpdatePlotPoint_Exec_Call
func (*MockUpdatePlotPoint_Exec_Call) RunAndReturn ¶
func (_c *MockUpdatePlotPoint_Exec_Call) RunAndReturn(run func(context.Context, uuid.UUID, time.Time, *dao.UpdatePlotPointRequest) (*entities.PlotPoint, error)) *MockUpdatePlotPoint_Exec_Call
type MockUpdatePlotPoint_Expecter ¶
type MockUpdatePlotPoint_Expecter struct {
// contains filtered or unexported fields
}
func (*MockUpdatePlotPoint_Expecter) Exec ¶
func (_e *MockUpdatePlotPoint_Expecter) Exec(ctx interface{}, id interface{}, now interface{}, data interface{}) *MockUpdatePlotPoint_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- id uuid.UUID
- now time.Time
- data *dao.UpdatePlotPointRequest
Source Files
¶
- mock_BatchDeleteBeats.go
- mock_BatchDeletePlotPoints.go
- mock_CreateBeat.go
- mock_CreatePlotPoint.go
- mock_DeleteBeat.go
- mock_DeletePlotPoint.go
- mock_GetBeat.go
- mock_GetPlotPoint.go
- mock_ListBeats.go
- mock_ListPlotPoints.go
- mock_SearchBeats.go
- mock_SearchPlotPoints.go
- mock_UpdateBeat.go
- mock_UpdatePlotPoint.go