mocks

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceServiceLoader

type DeviceServiceLoader struct {
	mock.Mock
}

DeviceServiceLoader is an autogenerated mock type for the DeviceServiceLoader type

func (*DeviceServiceLoader) GetAddressableById

func (_m *DeviceServiceLoader) GetAddressableById(id string) (models.Addressable, error)

GetAddressableById provides a mock function with given fields: id

func (*DeviceServiceLoader) GetAddressableByName

func (_m *DeviceServiceLoader) GetAddressableByName(id string) (models.Addressable, error)

GetAddressableByName provides a mock function with given fields: id

func (*DeviceServiceLoader) GetAllDeviceServices

func (_m *DeviceServiceLoader) GetAllDeviceServices() ([]models.DeviceService, error)

GetAllDeviceServices provides a mock function with given fields:

func (*DeviceServiceLoader) GetDeviceServiceById

func (_m *DeviceServiceLoader) GetDeviceServiceById(id string) (models.DeviceService, error)

GetDeviceServiceById provides a mock function with given fields: id

func (*DeviceServiceLoader) GetDeviceServiceByName

func (_m *DeviceServiceLoader) GetDeviceServiceByName(n string) (models.DeviceService, error)

GetDeviceServiceByName provides a mock function with given fields: n

func (*DeviceServiceLoader) GetDeviceServicesByAddressableId

func (_m *DeviceServiceLoader) GetDeviceServicesByAddressableId(id string) ([]models.DeviceService, error)

GetDeviceServicesByAddressableId provides a mock function with given fields: id

type DeviceServiceUpdater

type DeviceServiceUpdater struct {
	mock.Mock
}

DeviceServiceUpdater is an autogenerated mock type for the DeviceServiceUpdater type

func (*DeviceServiceUpdater) GetAddressableById

func (_m *DeviceServiceUpdater) GetAddressableById(id string) (models.Addressable, error)

GetAddressableById provides a mock function with given fields: id

func (*DeviceServiceUpdater) GetAddressableByName

func (_m *DeviceServiceUpdater) GetAddressableByName(id string) (models.Addressable, error)

GetAddressableByName provides a mock function with given fields: id

func (*DeviceServiceUpdater) GetAllDeviceServices

func (_m *DeviceServiceUpdater) GetAllDeviceServices() ([]models.DeviceService, error)

GetAllDeviceServices provides a mock function with given fields:

func (*DeviceServiceUpdater) GetDeviceServiceById

func (_m *DeviceServiceUpdater) GetDeviceServiceById(id string) (models.DeviceService, error)

GetDeviceServiceById provides a mock function with given fields: id

func (*DeviceServiceUpdater) GetDeviceServiceByName

func (_m *DeviceServiceUpdater) GetDeviceServiceByName(n string) (models.DeviceService, error)

GetDeviceServiceByName provides a mock function with given fields: n

func (*DeviceServiceUpdater) GetDeviceServicesByAddressableId

func (_m *DeviceServiceUpdater) GetDeviceServicesByAddressableId(id string) ([]models.DeviceService, error)

GetDeviceServicesByAddressableId provides a mock function with given fields: id

func (*DeviceServiceUpdater) UpdateDeviceService

func (_m *DeviceServiceUpdater) UpdateDeviceService(ds models.DeviceService) error

UpdateDeviceService provides a mock function with given fields: ds

Jump to

Keyboard shortcuts

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