Back to godoc.org
go.etcd.io/etcd / pkg / mock / mockstore

Package mockstore

v3.3.22+incompatible
Latest Go to latest

The latest major version is .

Published: May 20, 2020 | License: Apache-2.0 | Module: go.etcd.io/etcd

Overview

Package mockstore provides mock structures for the etcd store package.

Index

func NewNop

func NewNop() store.Store

type StoreRecorder

type StoreRecorder struct {
	store.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

Package Files

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier