Documentation
¶
Overview ¶
Package storecontract is the shared conformance suite for the store port (ADR-0006). RunContract asserts the store SEMANTICS that must hold identically for every Engine — memory and badger run it, proving the in-memory fake behaves like the real engine (the driver-conformance-parity scenario).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Restore ¶ added in v0.11.0
Restore loads src's snapshot into the empty engine dst and opens it: a store restored from src.
func RunContract ¶
RunContract runs the engine-agnostic store scenarios against a Store built by newStore. newStore must return a fresh, empty store on each call.
func SnapshotSubject ¶ added in v0.11.0
SnapshotSubject is a metastore over the empty engine eng for snapshotcontract.Run: Load goes to the engine, before store.New; Snapshot and Set go through the Store, opened on first use. Set writes a ConfigMap.
Types ¶
This section is empty.