4 "github.com/docker/swarmkit/api"
5 memdb "github.com/hashicorp/go-memdb"
8 // ObjectStoreConfig provides the necessary methods to store a particular object
9 // type inside MemoryStore.
10 type ObjectStoreConfig struct {
11 Table *memdb.TableSchema
12 Save func(ReadTx, *api.StoreSnapshot) error
13 Restore func(Tx, *api.StoreSnapshot) error
14 ApplyStoreAction func(Tx, api.StoreAction) error