Documentation
¶
Index ¶
- type Service
- type Store
- func (_m *Store) AddTransaction(txkey []byte, value []byte) error
- func (_m *Store) Close() error
- func (_m *Store) CommitTransaction(txnkey []byte, inobjkeys [][]byte, objs []*sbac.Object) error
- func (_m *Store) CreateObject(vid []byte, value []byte) (*sbac.Object, error)
- func (_m *Store) CreateObjects(objs []*sbac.Object) error
- func (_m *Store) DeactivateObjects(keys [][]byte) error
- func (_m *Store) DeleteObjects(objkeys [][]byte) error
- func (_m *Store) FinishTransaction(txnkey []byte) error
- func (_m *Store) GetObjects(vids [][]byte) ([]*sbac.Object, error)
- func (_m *Store) GetTransaction(txkey []byte) ([]byte, bool, error)
- func (_m *Store) LockObjects(objkeys [][]byte) error
- func (_m *Store) TxnFinished(txnkey []byte) (bool, error)
- func (_m *Store) UnlockObjects(objkeys [][]byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
Store is an autogenerated mock type for the Store type
func (*Store) AddTransaction ¶
AddTransaction provides a mock function with given fields: txkey, value
func (*Store) CommitTransaction ¶
CommitTransaction provides a mock function with given fields: txnkey, inobjkeys, objs
func (*Store) CreateObject ¶
CreateObject provides a mock function with given fields: vid, value
func (*Store) CreateObjects ¶
CreateObjects provides a mock function with given fields: objs
func (*Store) DeactivateObjects ¶
DeactivateObjects provides a mock function with given fields: keys
func (*Store) DeleteObjects ¶
DeleteObjects provides a mock function with given fields: objkeys
func (*Store) FinishTransaction ¶
FinishTransaction provides a mock function with given fields: txnkey
func (*Store) GetObjects ¶
GetObjects provides a mock function with given fields: vids
func (*Store) GetTransaction ¶
GetTransaction provides a mock function with given fields: txkey
func (*Store) LockObjects ¶
LockObjects provides a mock function with given fields: objkeys
func (*Store) TxnFinished ¶
TxnFinished provides a mock function with given fields: txnkey
func (*Store) UnlockObjects ¶
UnlockObjects provides a mock function with given fields: objkeys