import "github.com/docker/libkv/store/mock"
New creates a Mock store
Lock mock implementation of Locker
Lock mock
Unlock mock
type Mock struct { mock.Mock // Endpoints passed to InitializeMock Endpoints []string // Options passed to InitializeMock Options *store.Config }
Mock store. Mocks all Store functions using testify.Mock
AtomicDelete mock
func (s *Mock) AtomicPut(key string, value []byte, previous *store.KVPair, opts *store.WriteOptions) (bool, *store.KVPair, error)
AtomicPut mock
Close mock
Delete mock
DeleteTree mock
Exists mock
Get mock
List mock
NewLock mock
Put mock
Watch mock
WatchTree mock
Package mock imports 2 packages (graph) and is imported by 1 packages. Updated 2016-07-31. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).