Documentation ¶
Index ¶
- type MockStore
- func (_m *MockStore) AtomicDelete(_param0 string, _param1 *store.KVPair) (bool, error)
- func (_m *MockStore) AtomicPut(_param0 string, _param1 []byte, _param2 *store.KVPair, ...) (bool, *store.KVPair, error)
- func (_m *MockStore) Close()
- func (_m *MockStore) Delete(_param0 string) error
- func (_m *MockStore) DeleteTree(_param0 string) error
- func (_m *MockStore) EXPECT() *_MockStoreRecorder
- func (_m *MockStore) Exists(_param0 string) (bool, error)
- func (_m *MockStore) Get(_param0 string) (*store.KVPair, error)
- func (_m *MockStore) List(_param0 string) ([]*store.KVPair, error)
- func (_m *MockStore) NewLock(_param0 string, _param1 *store.LockOptions) (store.Locker, error)
- func (_m *MockStore) Put(_param0 string, _param1 []byte, _param2 *store.WriteOptions) error
- func (_m *MockStore) Watch(_param0 string, _param1 <-chan struct{}) (<-chan *store.KVPair, error)
- func (_m *MockStore) WatchTree(_param0 string, _param1 <-chan struct{}) (<-chan []*store.KVPair, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStore ¶
type MockStore struct {
// contains filtered or unexported fields
}
Mock of Store interface
func NewMockStore ¶
func NewMockStore(ctrl *gomock.Controller) *MockStore
func (*MockStore) AtomicDelete ¶
func (*MockStore) DeleteTree ¶
Click to show internal directories.
Click to hide internal directories.