package container

import "github.com/edgexfoundry/device-sdk-go/internal/container"

Index

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

func CoredataEventClientFrom(get di.Get) coredata.EventClient

func CoredataValueDescriptorClientFrom

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

func GeneralClientFrom(get di.Get) general.GeneralClient

func MetadataAddressableClientFrom

func MetadataAddressableClientFrom(get di.Get) metadata.AddressableClient

func MetadataDeviceClientFrom

func MetadataDeviceClientFrom(get di.Get) metadata.DeviceClient

func MetadataDeviceProfileClientFrom

func MetadataDeviceProfileClientFrom(get di.Get) metadata.DeviceProfileClient

func MetadataDeviceServiceClientFrom

func MetadataDeviceServiceClientFrom(get di.Get) metadata.DeviceServiceClient

func MetadataProvisionWatcherClientFrom

func MetadataProvisionWatcherClientFrom(get di.Get) metadata.ProvisionWatcherClient

func ProtocolDiscoveryFrom

func ProtocolDiscoveryFrom(get di.Get) models.ProtocolDiscovery

ProtocolDiscoveryFrom helper function queries the DIC and returns protocol discovery implementation.

func ProtocolDriverFrom

func ProtocolDriverFrom(get di.Get) models.ProtocolDriver

ProtocolDriverFrom helper function queries the DIC and returns protocol driver implementation.

Source Files

client.go config.go deviceservice.go

Version
v1.4.0 (latest)
Published
Dec 21, 2020
Platform
linux/amd64
Imports
7 packages
Last checked
4 days ago

Tools for package owners.