mockstore - ActiveState ActiveGo 1.8
...

Package mockstore

import "github.com/coreos/etcd/pkg/mock/mockstore"
Overview
Index

Overview ▾

Package mockstore provides mock structures for the etcd store package.

func NewNop

func NewNop() store.Store

type StoreRecorder

StoreRecorder provides a Store interface with a testutil.Recorder

type StoreRecorder struct {
    store.Store
    testutil.Recorder
}

func NewErrRecorder

func NewErrRecorder(err error) *StoreRecorder

func NewRecorder

func NewRecorder() *StoreRecorder

func NewRecorderStream

func NewRecorderStream() *StoreRecorder