Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBClient ¶
type DBClient interface { KeeperKeys(key string, keyOnly bool, isRaw bool) ([]models.KVResponse, errors.EdgeX) AddKeeperKeys(kv models.KVS, isFlatten bool) ([]models.KeyOnly, errors.EdgeX) DeleteKeeperKeys(key string, isRecurse bool) ([]models.KeyOnly, errors.EdgeX) AddRegistration(r models.Registration) (models.Registration, errors.EdgeX) DeleteRegistrationByServiceId(id string) errors.EdgeX Registrations() ([]models.Registration, errors.EdgeX) RegistrationByServiceId(id string) (models.Registration, errors.EdgeX) UpdateRegistration(r models.Registration) errors.EdgeX }
type Registry ¶
type Registry interface { // Register registers a service with the registration information, // and health check its status periodically Register(r models.Registration) // DeregisterByServiceId de-registers a service by its id and stops // health checking its status DeregisterByServiceId(id string) }
Registry defines the functionalities of a registry service
Click to show internal directories.
Click to hide internal directories.