Version: v2.1.1+incompatible Latest Latest

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

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



Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.



This section is empty.


This section is empty.


This section is empty.


type Observer added in v1.4.1

type Observer struct {
	CheckStub func(zapcore.Entry, *zapcore.CheckedEntry)

	WriteEntryStub func(zapcore.Entry, []zapcore.Field)
	// contains filtered or unexported fields

func (*Observer) Check added in v1.4.1

func (fake *Observer) Check(arg1 zapcore.Entry, arg2 *zapcore.CheckedEntry)

func (*Observer) CheckArgsForCall added in v1.4.1

func (fake *Observer) CheckArgsForCall(i int) (zapcore.Entry, *zapcore.CheckedEntry)

func (*Observer) CheckCallCount added in v1.4.1

func (fake *Observer) CheckCallCount() int

func (*Observer) CheckCalls added in v1.4.1

func (fake *Observer) CheckCalls(stub func(zapcore.Entry, *zapcore.CheckedEntry))

func (*Observer) Invocations added in v1.4.1

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

func (*Observer) WriteEntry added in v1.4.1

func (fake *Observer) WriteEntry(arg1 zapcore.Entry, arg2 []zapcore.Field)

func (*Observer) WriteEntryArgsForCall added in v1.4.1

func (fake *Observer) WriteEntryArgsForCall(i int) (zapcore.Entry, []zapcore.Field)

func (*Observer) WriteEntryCallCount added in v1.4.1

func (fake *Observer) WriteEntryCallCount() int

func (*Observer) WriteEntryCalls added in v1.4.1

func (fake *Observer) WriteEntryCalls(stub func(zapcore.Entry, []zapcore.Field))

type WriteSyncer

type WriteSyncer struct {
	SyncStub func() error

	WriteStub func([]byte) (int, error)
	// contains filtered or unexported fields

func (*WriteSyncer) Invocations

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

func (*WriteSyncer) Sync

func (fake *WriteSyncer) Sync() error

func (*WriteSyncer) SyncCallCount

func (fake *WriteSyncer) SyncCallCount() int

func (*WriteSyncer) SyncCalls added in v1.4.1

func (fake *WriteSyncer) SyncCalls(stub func() error)

func (*WriteSyncer) SyncReturns

func (fake *WriteSyncer) SyncReturns(result1 error)

func (*WriteSyncer) SyncReturnsOnCall

func (fake *WriteSyncer) SyncReturnsOnCall(i int, result1 error)

func (*WriteSyncer) Write

func (fake *WriteSyncer) Write(arg1 []byte) (int, error)

func (*WriteSyncer) WriteArgsForCall

func (fake *WriteSyncer) WriteArgsForCall(i int) []byte

func (*WriteSyncer) WriteCallCount

func (fake *WriteSyncer) WriteCallCount() int

func (*WriteSyncer) WriteCalls added in v1.4.1

func (fake *WriteSyncer) WriteCalls(stub func([]byte) (int, error))

func (*WriteSyncer) WriteReturns

func (fake *WriteSyncer) WriteReturns(result1 int, result2 error)

func (*WriteSyncer) WriteReturnsOnCall

func (fake *WriteSyncer) WriteReturnsOnCall(i int, result1 int, result2 error)

Jump to

Keyboard shortcuts

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