Documentation ¶
Index ¶
- Variables
- func MockAuthServer(config config.Config, ctx context.Context) (err error)
- type DevicesMock
- func (this *DevicesMock) GetConcept(conceptId string) (result model.Concept, err error, code int)
- func (this *DevicesMock) GetDeviceInfosOfDevices(deviceIds []string) (devices []model.Device, deviceTypeIds []string, err error, code int)
- func (this *DevicesMock) GetDeviceInfosOfGroup(groupId string) (devices []model.Device, deviceTypeIds []string, err error, code int)
- func (this *DevicesMock) GetDeviceTypeSelectables(criteria []model.FilterCriteria) (result []model.DeviceTypeSelectable, err error, code int)
- func (this *DevicesMock) GetFunction(functionId string) (result model.Function, err error, code int)
- func (this *DevicesMock) GetService(serviceId string) (result models.Service, err error, code int)
- type ImportsMock
- func (this *ImportsMock) GetImportInstance(user string, importId string) (importInstance importmodel.Import, err error, code int)
- func (this *ImportsMock) GetImportType(user string, importTypeId string) (importType importmodel.ImportType, err error, code int)
- func (this *ImportsMock) GetTopic(_ string, importId string) (topic string, err error, code int)
Constants ¶
This section is empty.
Variables ¶
View Source
var Token = "" /* 1942-byte string literal not displayed */
Functions ¶
Types ¶
type DevicesMock ¶
type DevicesMock struct { GetDeviceInfosOfGroupValues map[string][]model.Device //key = groupId GetDeviceTypeSelectablesValues map[string]map[string][]model.DeviceTypeSelectable Functions map[string]model.Function Concepts map[string]model.Concept }
func (*DevicesMock) GetConcept ¶
func (*DevicesMock) GetDeviceInfosOfDevices ¶
func (*DevicesMock) GetDeviceInfosOfGroup ¶
func (*DevicesMock) GetDeviceTypeSelectables ¶
func (this *DevicesMock) GetDeviceTypeSelectables(criteria []model.FilterCriteria) (result []model.DeviceTypeSelectable, err error, code int)
func (*DevicesMock) GetFunction ¶
func (*DevicesMock) GetService ¶
type ImportsMock ¶
type ImportsMock struct{}
func (*ImportsMock) GetImportInstance ¶
func (this *ImportsMock) GetImportInstance(user string, importId string) (importInstance importmodel.Import, err error, code int)
func (*ImportsMock) GetImportType ¶
func (this *ImportsMock) GetImportType(user string, importTypeId string) (importType importmodel.ImportType, err error, code int)
Click to show internal directories.
Click to hide internal directories.