clients

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BootstrapHandler

func BootstrapHandler(
	ctx context.Context,
	wg *sync.WaitGroup,
	startupTimer startup.Timer,
	dic *di.Container) bool

func InitDependencyClients

func InitDependencyClients(ctx context.Context, wg *sync.WaitGroup, startupTimer startup.Timer, dic *di.Container) bool

InitDependencyClients triggers Service Client Initializer to establish connection to Metadata and Core Data Services through Metadata Client and Core Data Client. Service Client Initializer also needs to check the service status of Metadata and Core Data Services, because they are important dependencies of Device Service. The initialization process should be pending until Metadata Service and Core Data Service are both available.

Types

type EdgeXClients

type EdgeXClients struct {
	DeviceClient           interfaces.DeviceClient
	DeviceServiceClient    interfaces.DeviceServiceClient
	DeviceProfileClient    interfaces.DeviceProfileClient
	ProvisionWatcherClient interfaces.ProvisionWatcherClient
	EventClient            interfaces.EventClient
}

Jump to

Keyboard shortcuts

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