mock

package
v0.0.0-...-ea48f79 Latest Latest
Warning

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

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

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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 Observer

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

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

func (*Observer) Check

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

func (*Observer) CheckArgsForCall

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

func (*Observer) CheckCallCount

func (fake *Observer) CheckCallCount() int

func (*Observer) CheckCalls

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

func (*Observer) Invocations

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

func (*Observer) WriteEntry

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

func (*Observer) WriteEntryArgsForCall

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

func (*Observer) WriteEntryCallCount

func (fake *Observer) WriteEntryCallCount() int

func (*Observer) WriteEntryCalls

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

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

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