utilfakes

package
v0.19.4-hotfix-3 Latest Latest
Warning

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

Go to latest
Published: Jun 14, 2021 License: Apache-2.0, BSD-3-Clause, MIT Imports: 2 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 FakeReadCloser

type FakeReadCloser struct {
	CloseStub func() error

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

func (*FakeReadCloser) Close

func (fake *FakeReadCloser) Close() error

func (*FakeReadCloser) CloseCallCount

func (fake *FakeReadCloser) CloseCallCount() int

func (*FakeReadCloser) CloseCalls

func (fake *FakeReadCloser) CloseCalls(stub func() error)

func (*FakeReadCloser) CloseReturns

func (fake *FakeReadCloser) CloseReturns(result1 error)

func (*FakeReadCloser) CloseReturnsOnCall

func (fake *FakeReadCloser) CloseReturnsOnCall(i int, result1 error)

func (*FakeReadCloser) Invocations

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

func (*FakeReadCloser) Read

func (fake *FakeReadCloser) Read(arg1 []byte) (int, error)

func (*FakeReadCloser) ReadArgsForCall

func (fake *FakeReadCloser) ReadArgsForCall(i int) []byte

func (*FakeReadCloser) ReadCallCount

func (fake *FakeReadCloser) ReadCallCount() int

func (*FakeReadCloser) ReadCalls

func (fake *FakeReadCloser) ReadCalls(stub func([]byte) (int, error))

func (*FakeReadCloser) ReadReturns

func (fake *FakeReadCloser) ReadReturns(result1 int, result2 error)

func (*FakeReadCloser) ReadReturnsOnCall

func (fake *FakeReadCloser) ReadReturnsOnCall(i int, result1 int, result2 error)

Jump to

Keyboard shortcuts

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