mocks

package
v1.3.1-dev.15 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBClient

type DBClient struct {
	mock.Mock
}

DBClient is an autogenerated mock type for the DBClient type

func (*DBClient) AddEvent

func (_m *DBClient) AddEvent(e models.Event) (models.Event, errors.EdgeX)

AddEvent provides a mock function with given fields: e

func (*DBClient) AllEvents

func (_m *DBClient) AllEvents(offset int, limit int) ([]models.Event, errors.EdgeX)

AllEvents provides a mock function with given fields: offset, limit

func (*DBClient) CloseSession

func (_m *DBClient) CloseSession()

CloseSession provides a mock function with given fields:

func (*DBClient) DeleteEventById

func (_m *DBClient) DeleteEventById(id string) errors.EdgeX

DeleteEventById provides a mock function with given fields: id

func (*DBClient) DeleteEventsByDeviceName

func (_m *DBClient) DeleteEventsByDeviceName(deviceName string) errors.EdgeX

DeleteEventsByDeviceName provides a mock function with given fields: deviceName

func (*DBClient) DeletePushedEvents

func (_m *DBClient) DeletePushedEvents() errors.EdgeX

DeletePushedEvents provides a mock function with given fields:

func (*DBClient) EventById

func (_m *DBClient) EventById(id string) (models.Event, errors.EdgeX)

EventById provides a mock function with given fields: id

func (*DBClient) EventCountByDevice

func (_m *DBClient) EventCountByDevice(deviceName string) (uint32, errors.EdgeX)

EventCountByDevice provides a mock function with given fields: deviceName

func (*DBClient) EventTotalCount

func (_m *DBClient) EventTotalCount() (uint32, errors.EdgeX)

EventTotalCount provides a mock function with given fields:

func (*DBClient) EventsByDeviceName

func (_m *DBClient) EventsByDeviceName(offset int, limit int, name string) ([]models.Event, errors.EdgeX)

EventsByDeviceName provides a mock function with given fields: offset, limit, name

func (*DBClient) EventsByTimeRange

func (_m *DBClient) EventsByTimeRange(start int, end int, offset int, limit int) ([]models.Event, errors.EdgeX)

EventsByTimeRange provides a mock function with given fields: start, end, offset, limit

func (*DBClient) ReadingTotalCount

func (_m *DBClient) ReadingTotalCount() (uint32, errors.EdgeX)

ReadingTotalCount provides a mock function with given fields:

func (*DBClient) UpdateEventPushedById

func (_m *DBClient) UpdateEventPushedById(id string) errors.EdgeX

UpdateEventPushedById provides a mock function with given fields: id

Jump to

Keyboard shortcuts

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