Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataStore ¶
type DataStore interface { // WriteInstance persists the given instance to the underlying storage WriteInstance(instance service.ServiceInstance) error // GetInstance retrieves a persisted instance from the underlying storage by // instance id GetInstance(instanceID string) (service.ServiceInstance, bool, error) // DeleteInstance deletes a persisted instance from the underlying storage by // instance id DeleteInstance(instanceID string) (bool, error) // TestConnection tests the connection to the underlying database (if there // is one) TestConnection() error }
Store is an interface to be implemented by types capable of handling persistence for other broker-related types
Click to show internal directories.
Click to hide internal directories.