package clients
import "github.com/edgexfoundry/device-sdk-go/internal/clients"
Index ¶
- func InitDependencyClients(ctx context.Context, startupTimer startup.Timer, dic *di.Container) bool
- type Clients
- func NewClients() *Clients
- func (_ *Clients) BootstrapHandler( ctx context.Context, wg *sync.WaitGroup, startupTimer startup.Timer, dic *di.Container) bool
- type EdgeXClients
Functions ¶
func InitDependencyClients ¶
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 ¶
type Clients struct { }
Clients contains references to dependencies required by the Clients bootstrap implementation.
func NewClients ¶
func NewClients() *Clients
NewClients create a new instance of Clients
func (*Clients) BootstrapHandler ¶
func (_ *Clients) BootstrapHandler( ctx context.Context, wg *sync.WaitGroup, startupTimer startup.Timer, dic *di.Container) bool
type EdgeXClients ¶
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 }
Source Files ¶
- Version
- v1.4.0 (latest)
- Published
- Dec 21, 2020
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 4 days ago –
Tools for package owners.