container

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 11 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuthTokenLoaderInterfaceName = di.TypeInstanceToName((*authtokenloader.AuthTokenLoader)(nil))

AuthTokenLoaderInterfaceName contains the name of the authtokenloader.AuthTokenLoader implementation in the DIC.

CancelFuncName contains the name of the context.CancelFunc in the DIC.

CommandClientName contains the name of the CommandClient's implementation in the DIC.

CommonClientName contains the name of the CommonClient instance in the DIC.

View Source
var ConfigClientInterfaceName = di.TypeInstanceToName((*configuration.Client)(nil))

ConfigClientInterfaceName contains the name of the configuration.Client implementation in the DIC.

View Source
var ConfigurationInterfaceName = di.TypeInstanceToName((*interfaces.Configuration)(nil))

ConfigurationInterfaceName contains the name of the interfaces.Configuration implementation in the DIC.

View Source
var DevRemoteModeName = di.TypeInstanceToName((*DevRemoteMode)(nil))

DevRemoteModeName contains the name of the DevRemoteMode struct in the DIC.

DeviceClientName contains the name of the DeviceClient's implementation in the DIC.

View Source
var DeviceProfileClientName = di.TypeInstanceToName((*interfaces.DeviceProfileClient)(nil))

DeviceProfileClientName contains the name of the DeviceProfileClient's implementation in the DIC.

View Source
var DeviceServiceCallbackClientName = di.TypeInstanceToName((*interfaces.DeviceServiceCallbackClient)(nil))

DeviceServiceCallbackClientName contains the name of the DeviceServiceCallbackClient instance in the DIC.

View Source
var DeviceServiceClientName = di.TypeInstanceToName((*interfaces.DeviceServiceClient)(nil))

DeviceServiceClientName contains the name of the DeviceServiceClient's implementation in the DIC.

View Source
var DeviceServiceCommandClientName = di.TypeInstanceToName((*interfaces.DeviceServiceCommandClient)(nil))

DeviceServiceCommandClientName contains the name of the DeviceServiceCommandClient instance in the DIC.

EventClientName contains the name of the EventClient's implementation in the DIC.

View Source
var ExternalMQTTMessagingClientName = di.TypeInstanceToName((*mqtt.Client)(nil))

ExternalMQTTMessagingClientName contains the name of the external messaging client instance in the DIC.

View Source
var IntervalActionClientName = di.TypeInstanceToName((*interfaces.IntervalActionClient)(nil))

IntervalActionClientName contains the name of the IntervalActionClient's implementation in the DIC.

IntervalClientName contains the name of the IntervalClient's implementation in the DIC.

View Source
var LoggingClientInterfaceName = di.TypeInstanceToName((*logger.LoggingClient)(nil))

LoggingClientInterfaceName contains the name of the logger.LoggingClient implementation in the DIC.

View Source
var MessagingClientName = di.TypeInstanceToName((*messaging.MessageClient)(nil))

MessagingClientName contains the name of the messaging client instance in the DIC.

View Source
var MetricsManagerInterfaceName = di.TypeInstanceToName((*interfaces.MetricsManager)(nil))

MetricsManagerInterfaceName contains the name of the metrics.Manager implementation in the DIC.

NotificationClientName contains the name of the NotificationClient's implementation in the DIC.

View Source
var ProvisionWatcherClientName = di.TypeInstanceToName((*interfaces.ProvisionWatcherClient)(nil))

ProvisionWatcherClientName contains the name of the ProvisionWatcherClient's implementation in the DIC.

ReadingClientName contains the name of the ReadingClient instance in the DIC.

View Source
var RegistryClientInterfaceName = di.TypeInstanceToName((*registry.Client)(nil))

RegistryClientInterfaceName contains the name of the registry.Client implementation in the DIC.

View Source
var RuntimeTokenProviderInterfaceName = di.TypeInstanceToName((*runtimetokenprovider.RuntimeTokenProvider)(nil))

RuntimeTokenProviderInterfaceName contains the name of the runtimetokenprovider.RuntimeTokenProvider implementation in the DIC.

View Source
var SecretProviderExtName = di.TypeInstanceToName((*interfaces.SecretProvider)(nil))

SecretProviderExtName contains the name of the interfaces.SecretProviderExt implementation in the DIC.

SecretProviderName contains the name of the interfaces.SecretProvider implementation in the DIC.

SubscriptionClientName contains the name of the SubscriptionClient's implementation in the DIC.

Functions

func AuthTokenLoaderFrom

func AuthTokenLoaderFrom(get di.Get) authtokenloader.AuthTokenLoader

AuthTokenLoaderFrom helper function queries the DIC and returns the authtokenloader.AuthTokenLoader implementation.

func CancelFuncFrom

func CancelFuncFrom(get di.Get) context.CancelFunc

CancelFuncFrom helper function queries the DIC and returns the context.CancelFunc.

func CommandClientFrom

func CommandClientFrom(get di.Get) interfaces.CommandClient

CommandClientFrom helper function queries the DIC and returns the CommandClient's implementation.

func CommonClientFrom

func CommonClientFrom(get di.Get) interfaces.CommonClient

CommonClientFrom helper function queries the DIC and returns the CommonClient instance.

func ConfigClientFrom

func ConfigClientFrom(get di.Get) configuration.Client

ConfigClientFrom helper function queries the DIC and returns the configuration.Client implementation.

func ConfigurationFrom

func ConfigurationFrom(get di.Get) interfaces.Configuration

ConfigurationFrom helper function queries the DIC and returns the interfaces.Configuration implementation.

func DeviceClientFrom

func DeviceClientFrom(get di.Get) interfaces.DeviceClient

DeviceClientFrom helper function queries the DIC and returns the DeviceClient's implementation.

func DeviceProfileClientFrom

func DeviceProfileClientFrom(get di.Get) interfaces.DeviceProfileClient

DeviceProfileClientFrom helper function queries the DIC and returns the DeviceProfileClient's implementation.

func DeviceServiceCallbackClientFrom

func DeviceServiceCallbackClientFrom(get di.Get) interfaces.DeviceServiceCallbackClient

DeviceServiceCallbackClientFrom helper function queries the DIC and returns the DeviceServiceCallbackClient instance.

func DeviceServiceClientFrom

func DeviceServiceClientFrom(get di.Get) interfaces.DeviceServiceClient

DeviceServiceClientFrom helper function queries the DIC and returns the DeviceServiceClient's implementation.

func DeviceServiceCommandClientFrom

func DeviceServiceCommandClientFrom(get di.Get) interfaces.DeviceServiceCommandClient

DeviceServiceCommandClientFrom helper function queries the DIC and returns the DeviceServiceCommandClient instance.

func EventClientFrom

func EventClientFrom(get di.Get) interfaces.EventClient

EventClientFrom helper function queries the DIC and returns the EventClient's implementation.

func ExternalMQTTMessagingClientFrom

func ExternalMQTTMessagingClientFrom(get di.Get) mqtt.Client

ExternalMQTTMessagingClientFrom helper function queries the DIC and returns the external messaging client.

func IntervalActionClientFrom

func IntervalActionClientFrom(get di.Get) interfaces.IntervalActionClient

IntervalActionClientFrom helper function queries the DIC and returns the IntervalActionClient's implementation.

func IntervalClientFrom

func IntervalClientFrom(get di.Get) interfaces.IntervalClient

IntervalClientFrom helper function queries the DIC and returns the IntervalClient's implementation.

func LoggingClientFrom

func LoggingClientFrom(get di.Get) logger.LoggingClient

LoggingClientFrom helper function queries the DIC and returns the logger.loggingClient implementation.

func MessagingClientFrom

func MessagingClientFrom(get di.Get) messaging.MessageClient

MessagingClientFrom helper function queries the DIC and returns the messaging client.

func MetricsManagerFrom

func MetricsManagerFrom(get di.Get) interfaces.MetricsManager

MetricsManagerFrom helper function queries the DIC and returns the metrics.Manager implementation.

func NotificationClientFrom

func NotificationClientFrom(get di.Get) interfaces.NotificationClient

NotificationClientFrom helper function queries the DIC and returns the NotificationClient's implementation.

func ProvisionWatcherClientFrom

func ProvisionWatcherClientFrom(get di.Get) interfaces.ProvisionWatcherClient

ProvisionWatcherClientFrom helper function queries the DIC and returns the ProvisionWatcherClient's implementation.

func ReadingClientFrom

func ReadingClientFrom(get di.Get) interfaces.ReadingClient

ReadingClientFrom helper function queries the DIC and returns the ReadingClient instance.

func RegistryFrom

func RegistryFrom(get di.Get) registry.Client

RegistryFrom helper function queries the DIC and returns the registry.Client implementation.

func RuntimeTokenProviderFrom

func RuntimeTokenProviderFrom(get di.Get) runtimetokenprovider.RuntimeTokenProvider

RuntimeTokenProviderFrom helper function queries the DIC and returns the runtimetokenprovider.RuntimeTokenProvider implementation.

func SecretProviderExtFrom

func SecretProviderExtFrom(get di.Get) interfaces.SecretProviderExt

SecretProviderExtFrom helper function queries the DIC and returns the interfaces.SecretProviderExt implementation.

func SecretProviderFrom

func SecretProviderFrom(get di.Get) interfaces.SecretProvider

SecretProviderFrom helper function queries the DIC and returns the interfaces.SecretProvider implementation.

func SubscriptionClientFrom

func SubscriptionClientFrom(get di.Get) interfaces.SubscriptionClient

SubscriptionClientFrom helper function queries the DIC and returns the SubscriptionClient's implementation.

Types

type DevRemoteMode added in v3.1.0

type DevRemoteMode struct {
	InDevMode    bool
	InRemoteMode bool
}

func DevRemoteModeFrom added in v3.1.0

func DevRemoteModeFrom(get di.Get) DevRemoteMode

DevRemoteModeFrom helper function queries the DIC and returns the Dev and Remotes mode flags.

Jump to

Keyboard shortcuts

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