Documentation
¶
Overview ¶
Code generated by mockery v1.0.0
Index ¶
- type Store
- func (_m *Store) AtomicDelete(key string, expected *kv.KeyValue) (bool, error)
- func (_m *Store) AtomicPut(key string, value []byte, expected *kv.KeyValue, opts ...kv.PutOption) (*kv.KeyValue, error)
- func (_m *Store) Close()
- func (_m *Store) Delete(key string) error
- func (_m *Store) DeleteTree(prefix string) error
- func (_m *Store) Exists(key string) (bool, error)
- func (_m *Store) Get(key string) (*kv.KeyValue, error)
- func (_m *Store) List(prefix string) ([]*kv.KeyValue, error)
- func (_m *Store) Lock(key string, opts ...kv.LockOption) (kv.Locker, error)
- func (_m *Store) Put(key string, value []byte, opts ...kv.PutOption) error
- func (_m *Store) Watch(key string, stopCh <-chan struct{}) (<-chan *kv.KeyValue, error)
- func (_m *Store) WatchTree(prefix string, stopCh <-chan struct{}) (<-chan []*kv.KeyValue, 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) AtomicDelete ¶
AtomicDelete provides a mock function with given fields: key, expected
func (*Store) AtomicPut ¶
func (_m *Store) AtomicPut(key string, value []byte, expected *kv.KeyValue, opts ...kv.PutOption) (*kv.KeyValue, error)
AtomicPut provides a mock function with given fields: key, value, expected, opts
func (*Store) DeleteTree ¶
DeleteTree provides a mock function with given fields: prefix
Click to show internal directories.
Click to hide internal directories.