mocks

package
v1.2.2-dev.85 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 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) CloseSession

func (_m *DBClient) CloseSession()

CloseSession 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:

Jump to

Keyboard shortcuts

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