Documentation ¶
Index ¶
- type DBClient
- func (_m *DBClient) AddEvent(e models.Event) (models.Event, errors.EdgeX)
- func (_m *DBClient) AllEvents(offset int, limit int) ([]models.Event, errors.EdgeX)
- func (_m *DBClient) CloseSession()
- func (_m *DBClient) DeleteEventById(id string) errors.EdgeX
- func (_m *DBClient) EventById(id string) (models.Event, errors.EdgeX)
- func (_m *DBClient) EventCountByDevice(deviceName string) (uint32, errors.EdgeX)
- func (_m *DBClient) EventTotalCount() (uint32, errors.EdgeX)
- func (_m *DBClient) EventsByDeviceName(offset int, limit int, name string) ([]models.Event, errors.EdgeX)
- func (_m *DBClient) UpdateEventPushedById(id string) errors.EdgeX
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBClient ¶
DBClient is an autogenerated mock type for the DBClient type
func (*DBClient) CloseSession ¶
func (_m *DBClient) CloseSession()
CloseSession provides a mock function with given fields:
func (*DBClient) DeleteEventById ¶
DeleteEventById provides a mock function with given fields: id
func (*DBClient) EventCountByDevice ¶
EventCountByDevice provides a mock function with given fields: deviceName
func (*DBClient) EventTotalCount ¶
EventTotalCount provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.