fakes

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistorydbLogger

type HistorydbLogger struct {
	DebugfStub func(string, ...interface{})

	ErrorfStub func(string, ...interface{})

	InfofStub func(string, ...interface{})

	WarnfStub func(string, ...interface{})
	// contains filtered or unexported fields
}

func (*HistorydbLogger) Debugf

func (fake *HistorydbLogger) Debugf(arg1 string, arg2 ...interface{})

func (*HistorydbLogger) DebugfArgsForCall

func (fake *HistorydbLogger) DebugfArgsForCall(i int) (string, []interface{})

func (*HistorydbLogger) DebugfCallCount

func (fake *HistorydbLogger) DebugfCallCount() int

func (*HistorydbLogger) DebugfCalls

func (fake *HistorydbLogger) DebugfCalls(stub func(string, ...interface{}))

func (*HistorydbLogger) Errorf

func (fake *HistorydbLogger) Errorf(arg1 string, arg2 ...interface{})

func (*HistorydbLogger) ErrorfArgsForCall

func (fake *HistorydbLogger) ErrorfArgsForCall(i int) (string, []interface{})

func (*HistorydbLogger) ErrorfCallCount

func (fake *HistorydbLogger) ErrorfCallCount() int

func (*HistorydbLogger) ErrorfCalls

func (fake *HistorydbLogger) ErrorfCalls(stub func(string, ...interface{}))

func (*HistorydbLogger) Infof

func (fake *HistorydbLogger) Infof(arg1 string, arg2 ...interface{})

func (*HistorydbLogger) InfofArgsForCall

func (fake *HistorydbLogger) InfofArgsForCall(i int) (string, []interface{})

func (*HistorydbLogger) InfofCallCount

func (fake *HistorydbLogger) InfofCallCount() int

func (*HistorydbLogger) InfofCalls

func (fake *HistorydbLogger) InfofCalls(stub func(string, ...interface{}))

func (*HistorydbLogger) Invocations

func (fake *HistorydbLogger) Invocations() map[string][][]interface{}

func (*HistorydbLogger) Warnf

func (fake *HistorydbLogger) Warnf(arg1 string, arg2 ...interface{})

func (*HistorydbLogger) WarnfArgsForCall

func (fake *HistorydbLogger) WarnfArgsForCall(i int) (string, []interface{})

func (*HistorydbLogger) WarnfCallCount

func (fake *HistorydbLogger) WarnfCallCount() int

func (*HistorydbLogger) WarnfCalls

func (fake *HistorydbLogger) WarnfCalls(stub func(string, ...interface{}))

type HistoryleveldbLogger

type HistoryleveldbLogger struct {
	*HistorydbLogger
}

HistoryleveldbLogger is a wrapper to fakes.Logger so that we can overwrite Warnf.

func (*HistoryleveldbLogger) Warnf

func (hl *HistoryleveldbLogger) Warnf(arg1 string, arg2 ...interface{})

Warnf copies byte array in arg2 and then delegates to fakes.Logger. We have to make the copy because goleveldb iterator reuses the byte array for keys and values for the Next() call.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL