mock_store

package
v0.0.0-...-69458df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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 (_m *MockStore) AtomicDelete(_param0 string, _param1 *store.KVPair) (bool, error)

func (*MockStore) AtomicPut

func (_m *MockStore) AtomicPut(_param0 string, _param1 []byte, _param2 *store.KVPair, _param3 *store.WriteOptions) (bool, *store.KVPair, error)

func (*MockStore) Close

func (_m *MockStore) Close()

func (*MockStore) Delete

func (_m *MockStore) Delete(_param0 string) error

func (*MockStore) DeleteTree

func (_m *MockStore) DeleteTree(_param0 string) error

func (*MockStore) EXPECT

func (_m *MockStore) EXPECT() *_MockStoreRecorder

func (*MockStore) Exists

func (_m *MockStore) Exists(_param0 string) (bool, error)

func (*MockStore) Get

func (_m *MockStore) Get(_param0 string) (*store.KVPair, error)

func (*MockStore) List

func (_m *MockStore) List(_param0 string) ([]*store.KVPair, error)

func (*MockStore) NewLock

func (_m *MockStore) NewLock(_param0 string, _param1 *store.LockOptions) (store.Locker, error)

func (*MockStore) Put

func (_m *MockStore) Put(_param0 string, _param1 []byte, _param2 *store.WriteOptions) error

func (*MockStore) Watch

func (_m *MockStore) Watch(_param0 string, _param1 <-chan struct{}) (<-chan *store.KVPair, error)

func (*MockStore) WatchTree

func (_m *MockStore) WatchTree(_param0 string, _param1 <-chan struct{}) (<-chan []*store.KVPair, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL