Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type WriteSyncer
- func (fake *WriteSyncer) Invocations() map[string][][]interface{}
- func (fake *WriteSyncer) Sync() error
- func (fake *WriteSyncer) SyncCallCount() int
- func (fake *WriteSyncer) SyncReturns(result1 error)
- func (fake *WriteSyncer) SyncReturnsOnCall(i int, result1 error)
- func (fake *WriteSyncer) Write(p []byte) (n int, err error)
- func (fake *WriteSyncer) WriteArgsForCall(i int) []byte
- func (fake *WriteSyncer) WriteCallCount() int
- 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 WriteSyncer ¶
type WriteSyncer struct { WriteStub func(p []byte) (n int, err error) SyncStub func() 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) 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) 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.