Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMemoryCatalogDataStore ¶ added in v0.56.0
func NewMemoryCatalogDataStore() (*memoryCatalogDataStore, error)
NewMemoryCatalogDataStore creates an in-memory version of the catalog datastore. This implementation does not store data persistently, and any fixture must be provided to it at the start. A new call to this function will create an entirely separate and new in-memory store, so changes will not be persisted.
You should call `store.Close()` between usages, unless you need to refer to shared test state ¶
This version is not threadsafe and could result in races when using transactions from multiple threads.
Types ¶
Click to show internal directories.
Click to hide internal directories.