Documentation ¶
Index ¶
- type DBClient
- func (_m *DBClient) AddDevice(d models.Device) (models.Device, errors.EdgeX)
- func (_m *DBClient) AddDeviceProfile(e models.DeviceProfile) (models.DeviceProfile, errors.EdgeX)
- func (_m *DBClient) AddDeviceService(e models.DeviceService) (models.DeviceService, errors.EdgeX)
- func (_m *DBClient) CloseSession()
- func (_m *DBClient) DeleteDeviceProfileById(id string) errors.EdgeX
- func (_m *DBClient) DeleteDeviceProfileByName(name string) errors.EdgeX
- func (_m *DBClient) DeleteDeviceServiceById(id string) errors.EdgeX
- func (_m *DBClient) DeleteDeviceServiceByName(name string) errors.EdgeX
- func (_m *DBClient) DeviceProfileNameExists(name string) (bool, errors.EdgeX)
- func (_m *DBClient) DeviceServiceNameExists(name string) (bool, errors.EdgeX)
- func (_m *DBClient) GetDeviceProfileByName(name string) (models.DeviceProfile, errors.EdgeX)
- func (_m *DBClient) GetDeviceProfiles(offset int, limit int, labels []string) ([]models.DeviceProfile, errors.EdgeX)
- func (_m *DBClient) GetDeviceServiceById(id string) (models.DeviceService, errors.EdgeX)
- func (_m *DBClient) GetDeviceServiceByName(name string) (models.DeviceService, errors.EdgeX)
- func (_m *DBClient) GetDeviceServices(offset int, limit int, labels []string) ([]models.DeviceService, errors.EdgeX)
- func (_m *DBClient) UpdateDeviceProfile(e models.DeviceProfile) 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) 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) CloseSession ¶
func (_m *DBClient) CloseSession()
CloseSession provides a mock function with given fields:
func (*DBClient) DeleteDeviceProfileById ¶
DeleteDeviceProfileById provides a mock function with given fields: id
func (*DBClient) DeleteDeviceProfileByName ¶
DeleteDeviceProfileByName provides a mock function with given fields: name
func (*DBClient) DeleteDeviceServiceById ¶
DeleteDeviceServiceById provides a mock function with given fields: id
func (*DBClient) DeleteDeviceServiceByName ¶
DeleteDeviceServiceByName provides a mock function with given fields: name
func (*DBClient) DeviceProfileNameExists ¶
DeviceProfileNameExists provides a mock function with given fields: name
func (*DBClient) DeviceServiceNameExists ¶
DeviceServiceNameExists provides a mock function with given fields: name
func (*DBClient) GetDeviceProfileByName ¶
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 ¶
GetDeviceServiceById provides a mock function with given fields: id
func (*DBClient) GetDeviceServiceByName ¶
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