Documentation ¶
Index ¶
- Variables
- func ConfigurationFrom(get di.Get) *common.ConfigurationStruct
- func CoredataEventClientFrom(get di.Get) coredata.EventClient
- func CoredataValueDescriptorClientFrom(get di.Get) coredata.ValueDescriptorClient
- func DeviceServiceFrom(get di.Get) contract.DeviceService
- func GeneralClientFrom(get di.Get) general.GeneralClient
- func MetadataAddressableClientFrom(get di.Get) metadata.AddressableClient
- func MetadataDeviceClientFrom(get di.Get) metadata.DeviceClient
- func MetadataDeviceProfileClientFrom(get di.Get) metadata.DeviceProfileClient
- func MetadataDeviceServiceClientFrom(get di.Get) metadata.DeviceServiceClient
- func MetadataProvisionWatcherClientFrom(get di.Get) metadata.ProvisionWatcherClient
- func ProtocolDiscoveryFrom(get di.Get) models.ProtocolDiscovery
- func ProtocolDriverFrom(get di.Get) models.ProtocolDriver
Constants ¶
This section is empty.
Variables ¶
var ConfigurationName = di.TypeInstanceToName(common.ConfigurationStruct{})
ConfigurationName contains the name of device service's ConfigurationStruct implementation in the DIC.
var CoredataEventClientName = di.TypeInstanceToName((*coredata.EventClient)(nil))
var CoredataValueDescriptorClientName = di.TypeInstanceToName((*coredata.ValueDescriptorClient)(nil))
var DeviceServiceName = di.TypeInstanceToName(contract.DeviceService{})
DeviceServiceName contains the name of device service struct in the DIC.
var GeneralClientName = di.TypeInstanceToName((*general.GeneralClient)(nil))
var MetadataAddressableClientName = di.TypeInstanceToName((*metadata.AddressableClient)(nil))
var MetadataDeviceClientName = di.TypeInstanceToName((*metadata.DeviceClient)(nil))
var MetadataDeviceProfileClientName = di.TypeInstanceToName((*metadata.DeviceProfileClient)(nil))
var MetadataDeviceServiceClientName = di.TypeInstanceToName((*metadata.DeviceServiceClient)(nil))
var MetadataProvisionWatcherClientName = di.TypeInstanceToName((*metadata.ProvisionWatcherClient)(nil))
var ProtocolDiscoveryName = di.TypeInstanceToName((*models.ProtocolDiscovery)(nil))
ProtocolDiscoveryName contains the name of protocol discovery implementation in the DIC.
var ProtocolDriverName = di.TypeInstanceToName((*models.ProtocolDriver)(nil))
ProtocolDriverName contains the name of protocol driver implementation in the DIC.
Functions ¶
func ConfigurationFrom ¶
func ConfigurationFrom(get di.Get) *common.ConfigurationStruct
ConfigurationFrom helper function queries the DIC and returns device service's ConfigurationStruct implementation.
func CoredataEventClientFrom ¶ added in v1.3.0
func CoredataEventClientFrom(get di.Get) coredata.EventClient
func CoredataValueDescriptorClientFrom ¶ added in v1.3.0
func CoredataValueDescriptorClientFrom(get di.Get) coredata.ValueDescriptorClient
func DeviceServiceFrom ¶
func DeviceServiceFrom(get di.Get) contract.DeviceService
DeviceServiceFrom helper function queries the DIC and returns device service struct.
func GeneralClientFrom ¶ added in v1.3.0
func GeneralClientFrom(get di.Get) general.GeneralClient
func MetadataAddressableClientFrom ¶ added in v1.3.0
func MetadataAddressableClientFrom(get di.Get) metadata.AddressableClient
func MetadataDeviceClientFrom ¶ added in v1.3.0
func MetadataDeviceClientFrom(get di.Get) metadata.DeviceClient
func MetadataDeviceProfileClientFrom ¶ added in v1.3.0
func MetadataDeviceProfileClientFrom(get di.Get) metadata.DeviceProfileClient
func MetadataDeviceServiceClientFrom ¶ added in v1.3.0
func MetadataDeviceServiceClientFrom(get di.Get) metadata.DeviceServiceClient
func MetadataProvisionWatcherClientFrom ¶ added in v1.3.0
func MetadataProvisionWatcherClientFrom(get di.Get) metadata.ProvisionWatcherClient
func ProtocolDiscoveryFrom ¶ added in v1.3.0
func ProtocolDiscoveryFrom(get di.Get) models.ProtocolDiscovery
ProtocolDiscoveryFrom helper function queries the DIC and returns protocol discovery implementation.
func ProtocolDriverFrom ¶ added in v1.3.0
func ProtocolDriverFrom(get di.Get) models.ProtocolDriver
ProtocolDriverFrom helper function queries the DIC and returns protocol driver implementation.
Types ¶
This section is empty.