Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Observer
- func (fake *Observer) Check(arg1 zapcore.Entry, arg2 *zapcore.CheckedEntry)
- func (fake *Observer) CheckArgsForCall(i int) (zapcore.Entry, *zapcore.CheckedEntry)
- func (fake *Observer) CheckCallCount() int
- func (fake *Observer) CheckCalls(stub func(zapcore.Entry, *zapcore.CheckedEntry))
- func (fake *Observer) Invocations() map[string][][]interface{}
- func (fake *Observer) WriteEntry(arg1 zapcore.Entry, arg2 []zapcore.Field)
- func (fake *Observer) WriteEntryArgsForCall(i int) (zapcore.Entry, []zapcore.Field)
- func (fake *Observer) WriteEntryCallCount() int
- func (fake *Observer) WriteEntryCalls(stub func(zapcore.Entry, []zapcore.Field))
- type WriteSyncer
- func (fake *WriteSyncer) Invocations() map[string][][]interface{}
- func (fake *WriteSyncer) Sync() error
- func (fake *WriteSyncer) SyncCallCount() int
- func (fake *WriteSyncer) SyncCalls(stub func() error)
- func (fake *WriteSyncer) SyncReturns(result1 error)
- func (fake *WriteSyncer) SyncReturnsOnCall(i int, result1 error)
- func (fake *WriteSyncer) Write(arg1 []byte) (int, error)
- func (fake *WriteSyncer) WriteArgsForCall(i int) []byte
- func (fake *WriteSyncer) WriteCallCount() int
- func (fake *WriteSyncer) WriteCalls(stub func([]byte) (int, error))
- func (fake *WriteSyncer) WriteReturns(result1 int, result2 error)
- func (fake *WriteSyncer) WriteReturnsOnCall(i int, result1 int, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 (*Observer) CheckCallCount ¶ added in v1.4.1
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 (*Observer) WriteEntry ¶ added in v1.4.1
func (*Observer) WriteEntryArgsForCall ¶ added in v1.4.1
func (*Observer) WriteEntryCallCount ¶ added in v1.4.1
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) 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)
Click to show internal directories.
Click to hide internal directories.