mockstore

package
Version: v3.3.27+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

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() store.Store

Types

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL