clients

package
v1.4.1-dev.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDependencyClients

func InitDependencyClients(ctx context.Context, 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 Clients added in v1.3.0

type Clients struct {
}

Clients contains references to dependencies required by the Clients bootstrap implementation.

func NewClients added in v1.3.0

func NewClients() *Clients

NewClients create a new instance of Clients

func (*Clients) BootstrapHandler added in v1.3.0

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

type EdgeXClients added in v1.3.0

type EdgeXClients struct {
	GeneralClient          general.GeneralClient
	DeviceClient           metadata.DeviceClient
	DeviceServiceClient    metadata.DeviceServiceClient
	DeviceProfileClient    metadata.DeviceProfileClient
	AddressableClient      metadata.AddressableClient
	ProvisionWatcherClient metadata.ProvisionWatcherClient
	EventClient            coredata.EventClient
	ValueDescriptorClient  coredata.ValueDescriptorClient
}

Jump to

Keyboard shortcuts

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