etcd: github.com/etcd-io/etcd/pkg/mock/mockstore Index | Files

package mockstore

import "github.com/etcd-io/etcd/pkg/mock/mockstore"

Package mockstore provides mock structures for the etcd store package.

Index

Package Files

doc.go store_recorder.go

func NewNop Uses

func NewNop() v2store.Store

type StoreRecorder Uses

type StoreRecorder struct {
    v2store.Store
    testutil.Recorder
}

StoreRecorder provides a Store interface with a testutil.Recorder

func NewErrRecorder Uses

func NewErrRecorder(err error) *StoreRecorder

func NewRecorder Uses

func NewRecorder() *StoreRecorder

func NewRecorderStream Uses

func NewRecorderStream() *StoreRecorder

Package mockstore imports 3 packages (graph). Updated 2019-06-01. Refresh now. Tools for package owners.