Documentation

Overview

Package mockstore provides mock structures for the etcd store package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNop

func NewNop() v2store.Store

Types

type StoreRecorder

type StoreRecorder struct {
	v2store.Store
	testutil.Recorder
}

StoreRecorder provides a Store interface with a testutil.Recorder

func NewErrRecorder

func NewErrRecorder(err error) *StoreRecorder

func NewRecorder

func NewRecorder() *StoreRecorder

func NewRecorderStream

func NewRecorderStream() *StoreRecorder