Documentation ¶
Index ¶
- type DeviceProfileAdder
- type DeviceProfileDeleter
- func (_m *DeviceProfileDeleter) DeleteDeviceProfileById(id string) error
- func (_m *DeviceProfileDeleter) GetAllDeviceProfiles() ([]models.DeviceProfile, error)
- func (_m *DeviceProfileDeleter) GetAllDevices() ([]models.Device, error)
- func (_m *DeviceProfileDeleter) GetDeviceProfileById(id string) (models.DeviceProfile, error)
- func (_m *DeviceProfileDeleter) GetDeviceProfileByName(n string) (models.DeviceProfile, error)
- func (_m *DeviceProfileDeleter) GetDeviceProfilesByManufacturer(man string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileDeleter) GetDeviceProfilesByManufacturerModel(man string, mod string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileDeleter) GetDeviceProfilesByModel(m string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileDeleter) GetDeviceProfilesWithLabel(l string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileDeleter) GetDevicesByProfileId(pid string) ([]models.Device, error)
- func (_m *DeviceProfileDeleter) GetProvisionWatchersByProfileId(id string) ([]models.ProvisionWatcher, error)
- type DeviceProfileLoader
- func (_m *DeviceProfileLoader) GetAllDeviceProfiles() ([]models.DeviceProfile, error)
- func (_m *DeviceProfileLoader) GetDeviceProfileById(id string) (models.DeviceProfile, error)
- func (_m *DeviceProfileLoader) GetDeviceProfileByName(n string) (models.DeviceProfile, error)
- func (_m *DeviceProfileLoader) GetDeviceProfilesByManufacturer(man string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileLoader) GetDeviceProfilesByManufacturerModel(man string, mod string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileLoader) GetDeviceProfilesByModel(m string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileLoader) GetDeviceProfilesWithLabel(l string) ([]models.DeviceProfile, error)
- type DeviceProfileUpdater
- func (_m *DeviceProfileUpdater) GetAllDeviceProfiles() ([]models.DeviceProfile, error)
- func (_m *DeviceProfileUpdater) GetAllDevices() ([]models.Device, error)
- func (_m *DeviceProfileUpdater) GetDeviceProfileById(id string) (models.DeviceProfile, error)
- func (_m *DeviceProfileUpdater) GetDeviceProfileByName(n string) (models.DeviceProfile, error)
- func (_m *DeviceProfileUpdater) GetDeviceProfilesByManufacturer(man string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileUpdater) GetDeviceProfilesByManufacturerModel(man string, mod string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileUpdater) GetDeviceProfilesByModel(m string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileUpdater) GetDeviceProfilesWithLabel(l string) ([]models.DeviceProfile, error)
- func (_m *DeviceProfileUpdater) GetDevicesByProfileId(pid string) ([]models.Device, error)
- func (_m *DeviceProfileUpdater) GetProvisionWatchersByProfileId(id string) ([]models.ProvisionWatcher, error)
- func (_m *DeviceProfileUpdater) UpdateDeviceProfile(dp models.DeviceProfile) error
- type ValueDescriptorAdder
- type ValueDescriptorUpdater
- func (_m *ValueDescriptorUpdater) Add(ctx context.Context, vdr *models.ValueDescriptor) (string, error)
- func (_m *ValueDescriptorUpdater) DeleteByName(ctx context.Context, name string) error
- func (_m *ValueDescriptorUpdater) Update(ctx context.Context, vdr *models.ValueDescriptor) error
- func (_m *ValueDescriptorUpdater) ValueDescriptorForName(ctx context.Context, name string) (models.ValueDescriptor, error)
- func (_m *ValueDescriptorUpdater) ValueDescriptorsUsage(ctx context.Context, names []string) (map[string]bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceProfileAdder ¶
DeviceProfileAdder is an autogenerated mock type for the DeviceProfileAdder type
func (*DeviceProfileAdder) AddDeviceProfile ¶
func (_m *DeviceProfileAdder) AddDeviceProfile(d models.DeviceProfile) (string, error)
AddDeviceProfile provides a mock function with given fields: d
type DeviceProfileDeleter ¶
DeviceProfileDeleter is an autogenerated mock type for the DeviceProfileDeleter type
func (*DeviceProfileDeleter) DeleteDeviceProfileById ¶
func (_m *DeviceProfileDeleter) DeleteDeviceProfileById(id string) error
DeleteDeviceProfileById provides a mock function with given fields: id
func (*DeviceProfileDeleter) GetAllDeviceProfiles ¶
func (_m *DeviceProfileDeleter) GetAllDeviceProfiles() ([]models.DeviceProfile, error)
GetAllDeviceProfiles provides a mock function with given fields:
func (*DeviceProfileDeleter) GetAllDevices ¶
func (_m *DeviceProfileDeleter) GetAllDevices() ([]models.Device, error)
GetAllDevices provides a mock function with given fields:
func (*DeviceProfileDeleter) GetDeviceProfileById ¶
func (_m *DeviceProfileDeleter) GetDeviceProfileById(id string) (models.DeviceProfile, error)
GetDeviceProfileById provides a mock function with given fields: id
func (*DeviceProfileDeleter) GetDeviceProfileByName ¶
func (_m *DeviceProfileDeleter) GetDeviceProfileByName(n string) (models.DeviceProfile, error)
GetDeviceProfileByName provides a mock function with given fields: n
func (*DeviceProfileDeleter) GetDeviceProfilesByManufacturer ¶
func (_m *DeviceProfileDeleter) GetDeviceProfilesByManufacturer(man string) ([]models.DeviceProfile, error)
GetDeviceProfilesByManufacturer provides a mock function with given fields: man
func (*DeviceProfileDeleter) GetDeviceProfilesByManufacturerModel ¶
func (_m *DeviceProfileDeleter) GetDeviceProfilesByManufacturerModel(man string, mod string) ([]models.DeviceProfile, error)
GetDeviceProfilesByManufacturerModel provides a mock function with given fields: man, mod
func (*DeviceProfileDeleter) GetDeviceProfilesByModel ¶
func (_m *DeviceProfileDeleter) GetDeviceProfilesByModel(m string) ([]models.DeviceProfile, error)
GetDeviceProfilesByModel provides a mock function with given fields: m
func (*DeviceProfileDeleter) GetDeviceProfilesWithLabel ¶
func (_m *DeviceProfileDeleter) GetDeviceProfilesWithLabel(l string) ([]models.DeviceProfile, error)
GetDeviceProfilesWithLabel provides a mock function with given fields: l
func (*DeviceProfileDeleter) GetDevicesByProfileId ¶
func (_m *DeviceProfileDeleter) GetDevicesByProfileId(pid string) ([]models.Device, error)
GetDevicesByProfileId provides a mock function with given fields: pid
func (*DeviceProfileDeleter) GetProvisionWatchersByProfileId ¶
func (_m *DeviceProfileDeleter) GetProvisionWatchersByProfileId(id string) ([]models.ProvisionWatcher, error)
GetProvisionWatchersByProfileId provides a mock function with given fields: id
type DeviceProfileLoader ¶
DeviceProfileLoader is an autogenerated mock type for the DeviceProfileLoader type
func (*DeviceProfileLoader) GetAllDeviceProfiles ¶
func (_m *DeviceProfileLoader) GetAllDeviceProfiles() ([]models.DeviceProfile, error)
GetAllDeviceProfiles provides a mock function with given fields:
func (*DeviceProfileLoader) GetDeviceProfileById ¶
func (_m *DeviceProfileLoader) GetDeviceProfileById(id string) (models.DeviceProfile, error)
GetDeviceProfileById provides a mock function with given fields: id
func (*DeviceProfileLoader) GetDeviceProfileByName ¶
func (_m *DeviceProfileLoader) GetDeviceProfileByName(n string) (models.DeviceProfile, error)
GetDeviceProfileByName provides a mock function with given fields: n
func (*DeviceProfileLoader) GetDeviceProfilesByManufacturer ¶
func (_m *DeviceProfileLoader) GetDeviceProfilesByManufacturer(man string) ([]models.DeviceProfile, error)
GetDeviceProfilesByManufacturer provides a mock function with given fields: man
func (*DeviceProfileLoader) GetDeviceProfilesByManufacturerModel ¶
func (_m *DeviceProfileLoader) GetDeviceProfilesByManufacturerModel(man string, mod string) ([]models.DeviceProfile, error)
GetDeviceProfilesByManufacturerModel provides a mock function with given fields: man, mod
func (*DeviceProfileLoader) GetDeviceProfilesByModel ¶
func (_m *DeviceProfileLoader) GetDeviceProfilesByModel(m string) ([]models.DeviceProfile, error)
GetDeviceProfilesByModel provides a mock function with given fields: m
func (*DeviceProfileLoader) GetDeviceProfilesWithLabel ¶
func (_m *DeviceProfileLoader) GetDeviceProfilesWithLabel(l string) ([]models.DeviceProfile, error)
GetDeviceProfilesWithLabel provides a mock function with given fields: l
type DeviceProfileUpdater ¶
DeviceProfileUpdater is an autogenerated mock type for the DeviceProfileUpdater type
func (*DeviceProfileUpdater) GetAllDeviceProfiles ¶
func (_m *DeviceProfileUpdater) GetAllDeviceProfiles() ([]models.DeviceProfile, error)
GetAllDeviceProfiles provides a mock function with given fields:
func (*DeviceProfileUpdater) GetAllDevices ¶
func (_m *DeviceProfileUpdater) GetAllDevices() ([]models.Device, error)
GetAllDevices provides a mock function with given fields:
func (*DeviceProfileUpdater) GetDeviceProfileById ¶
func (_m *DeviceProfileUpdater) GetDeviceProfileById(id string) (models.DeviceProfile, error)
GetDeviceProfileById provides a mock function with given fields: id
func (*DeviceProfileUpdater) GetDeviceProfileByName ¶
func (_m *DeviceProfileUpdater) GetDeviceProfileByName(n string) (models.DeviceProfile, error)
GetDeviceProfileByName provides a mock function with given fields: n
func (*DeviceProfileUpdater) GetDeviceProfilesByManufacturer ¶
func (_m *DeviceProfileUpdater) GetDeviceProfilesByManufacturer(man string) ([]models.DeviceProfile, error)
GetDeviceProfilesByManufacturer provides a mock function with given fields: man
func (*DeviceProfileUpdater) GetDeviceProfilesByManufacturerModel ¶
func (_m *DeviceProfileUpdater) GetDeviceProfilesByManufacturerModel(man string, mod string) ([]models.DeviceProfile, error)
GetDeviceProfilesByManufacturerModel provides a mock function with given fields: man, mod
func (*DeviceProfileUpdater) GetDeviceProfilesByModel ¶
func (_m *DeviceProfileUpdater) GetDeviceProfilesByModel(m string) ([]models.DeviceProfile, error)
GetDeviceProfilesByModel provides a mock function with given fields: m
func (*DeviceProfileUpdater) GetDeviceProfilesWithLabel ¶
func (_m *DeviceProfileUpdater) GetDeviceProfilesWithLabel(l string) ([]models.DeviceProfile, error)
GetDeviceProfilesWithLabel provides a mock function with given fields: l
func (*DeviceProfileUpdater) GetDevicesByProfileId ¶
func (_m *DeviceProfileUpdater) GetDevicesByProfileId(pid string) ([]models.Device, error)
GetDevicesByProfileId provides a mock function with given fields: pid
func (*DeviceProfileUpdater) GetProvisionWatchersByProfileId ¶
func (_m *DeviceProfileUpdater) GetProvisionWatchersByProfileId(id string) ([]models.ProvisionWatcher, error)
GetProvisionWatchersByProfileId provides a mock function with given fields: id
func (*DeviceProfileUpdater) UpdateDeviceProfile ¶
func (_m *DeviceProfileUpdater) UpdateDeviceProfile(dp models.DeviceProfile) error
UpdateDeviceProfile provides a mock function with given fields: dp
type ValueDescriptorAdder ¶
ValueDescriptorAdder is an autogenerated mock type for the ValueDescriptorAdder type
func (*ValueDescriptorAdder) Add ¶
func (_m *ValueDescriptorAdder) Add(ctx context.Context, vdr *models.ValueDescriptor) (string, error)
Add provides a mock function with given fields: vdr, ctx
type ValueDescriptorUpdater ¶
ValueDescriptorUpdater is an autogenerated mock type for the ValueDescriptorUpdater type
func (*ValueDescriptorUpdater) Add ¶
func (_m *ValueDescriptorUpdater) Add(ctx context.Context, vdr *models.ValueDescriptor) (string, error)
Add provides a mock function with given fields: vdr, ctx
func (*ValueDescriptorUpdater) DeleteByName ¶
func (_m *ValueDescriptorUpdater) DeleteByName(ctx context.Context, name string) error
DeleteByName provides a mock function with given fields: name, ctx
func (*ValueDescriptorUpdater) Update ¶
func (_m *ValueDescriptorUpdater) Update(ctx context.Context, vdr *models.ValueDescriptor) error
Update provides a mock function with given fields: vdr, ctx
func (*ValueDescriptorUpdater) ValueDescriptorForName ¶
func (_m *ValueDescriptorUpdater) ValueDescriptorForName(ctx context.Context, name string) (models.ValueDescriptor, error)
ValueDescriptorForName provides a mock function with given fields: name, ctx
func (*ValueDescriptorUpdater) ValueDescriptorsUsage ¶
func (_m *ValueDescriptorUpdater) ValueDescriptorsUsage(ctx context.Context, names []string) (map[string]bool, error)
ValueDescriptorsUsage provides a mock function with given fields: names, ctx