mock

package
v1.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2018 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 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) Write

func (fake *WriteSyncer) Write(p []byte) (n int, err 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)

Jump to

Keyboard shortcuts

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