mocks

package
v1.2.2-dev.105 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 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) 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) 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