Documentation ¶
Overview ¶
Package services is all about handling services: from storing the latest data of a service to providing a interface for the openapi client code contained in pkg/openapi.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datastore ¶
type Datastore interface { // GetEvents receives the current services and runs a difference between // them and their previous state (the one already existing in memory). // It returns the differences in form of events. GetEvents(services map[string]*openapi.Service) map[string]*openapi.Event }
Datastore holds services in their current state
Click to show internal directories.
Click to hide internal directories.