Documentation ¶
Overview ¶
Package sysstate handles the propagation of system state between the components
Package sysstate provides interfaces for storage related to the sysstate
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage interface { // Stores a new system state Store(context.Context, qaclana.State) error // Notify the caller on changes on the underlying system state Notifier() (<-chan qaclana.State, error) // Current gets the currently set system state Current() (qaclana.State, error) }
Storage is a contract that concrete backing storages should implement
Directories ¶
Path | Synopsis |
---|---|
Package database implements an storage using a database as backend
|
Package database implements an storage using a database as backend |
Package inmemory implements an in-memory storage of the system state
|
Package inmemory implements an in-memory storage of the system state |
Package testutils provide a simple harness suite for ensuring conformance by implementations
|
Package testutils provide a simple harness suite for ensuring conformance by implementations |
Click to show internal directories.
Click to hide internal directories.