mocks

package
v1.2.2-dev.93 Latest Latest
Warning

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

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

func (_m *DBClient) AddDevice(d models.Device) (models.Device, errors.EdgeX)

AddDevice provides a mock function with given fields: d

func (*DBClient) AddDeviceProfile

func (_m *DBClient) AddDeviceProfile(e models.DeviceProfile) (models.DeviceProfile, errors.EdgeX)

AddDeviceProfile provides a mock function with given fields: e

func (*DBClient) AddDeviceService

func (_m *DBClient) AddDeviceService(e models.DeviceService) (models.DeviceService, errors.EdgeX)

AddDeviceService provides a mock function with given fields: e

func (*DBClient) AllDeviceByServiceName

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

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

func (*DBClient) CloseSession

func (_m *DBClient) CloseSession()

CloseSession provides a mock function with given fields:

func (*DBClient) DeleteDeviceById

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

DeleteDeviceById provides a mock function with given fields: id

func (*DBClient) DeleteDeviceByName

func (_m *DBClient) DeleteDeviceByName(name string) errors.EdgeX

DeleteDeviceByName provides a mock function with given fields: name

func (*DBClient) DeleteDeviceProfileById

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

DeleteDeviceProfileById provides a mock function with given fields: id

func (*DBClient) DeleteDeviceProfileByName

func (_m *DBClient) DeleteDeviceProfileByName(name string) errors.EdgeX

DeleteDeviceProfileByName provides a mock function with given fields: name

func (*DBClient) DeleteDeviceServiceById

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

DeleteDeviceServiceById provides a mock function with given fields: id

func (*DBClient) DeleteDeviceServiceByName

func (_m *DBClient) DeleteDeviceServiceByName(name string) errors.EdgeX

DeleteDeviceServiceByName provides a mock function with given fields: name

func (*DBClient) DeviceById

func (_m *DBClient) DeviceById(id string) (models.Device, errors.EdgeX)

DeviceById provides a mock function with given fields: id

func (*DBClient) DeviceByName

func (_m *DBClient) DeviceByName(name string) (models.Device, errors.EdgeX)

DeviceByName provides a mock function with given fields: name

func (*DBClient) DeviceIdExists

func (_m *DBClient) DeviceIdExists(id string) (bool, errors.EdgeX)

DeviceIdExists provides a mock function with given fields: id

func (*DBClient) DeviceNameExists

func (_m *DBClient) DeviceNameExists(id string) (bool, errors.EdgeX)

DeviceNameExists provides a mock function with given fields: id

func (*DBClient) DeviceProfileNameExists

func (_m *DBClient) DeviceProfileNameExists(name string) (bool, errors.EdgeX)

DeviceProfileNameExists provides a mock function with given fields: name

func (*DBClient) DeviceServiceNameExists

func (_m *DBClient) DeviceServiceNameExists(name string) (bool, errors.EdgeX)

DeviceServiceNameExists provides a mock function with given fields: name

func (*DBClient) GetDeviceProfileByName

func (_m *DBClient) GetDeviceProfileByName(name string) (models.DeviceProfile, errors.EdgeX)

GetDeviceProfileByName provides a mock function with given fields: name

func (*DBClient) GetDeviceProfiles

func (_m *DBClient) GetDeviceProfiles(offset int, limit int, labels []string) ([]models.DeviceProfile, errors.EdgeX)

GetDeviceProfiles provides a mock function with given fields: offset, limit, labels

func (*DBClient) GetDeviceServiceById

func (_m *DBClient) GetDeviceServiceById(id string) (models.DeviceService, errors.EdgeX)

GetDeviceServiceById provides a mock function with given fields: id

func (*DBClient) GetDeviceServiceByName

func (_m *DBClient) GetDeviceServiceByName(name string) (models.DeviceService, errors.EdgeX)

GetDeviceServiceByName provides a mock function with given fields: name

func (*DBClient) GetDeviceServices

func (_m *DBClient) GetDeviceServices(offset int, limit int, labels []string) ([]models.DeviceService, errors.EdgeX)

GetDeviceServices provides a mock function with given fields: offset, limit, labels

func (*DBClient) UpdateDeviceProfile

func (_m *DBClient) UpdateDeviceProfile(e models.DeviceProfile) errors.EdgeX

UpdateDeviceProfile provides a mock function with given fields: e

Jump to

Keyboard shortcuts

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