fake_io

package
v0.0.0-...-b5002bc Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeReadCloser

type FakeReadCloser struct {
	ReadStub func(p []byte) (n int, err error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeReadCloser) Close

func (fake *FakeReadCloser) Close() error

func (*FakeReadCloser) CloseCallCount

func (fake *FakeReadCloser) CloseCallCount() int

func (*FakeReadCloser) CloseReturns

func (fake *FakeReadCloser) CloseReturns(result1 error)

func (*FakeReadCloser) Read

func (fake *FakeReadCloser) Read(p []byte) (n int, err error)

func (*FakeReadCloser) ReadArgsForCall

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

func (*FakeReadCloser) ReadCallCount

func (fake *FakeReadCloser) ReadCallCount() int

func (*FakeReadCloser) ReadReturns

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

type FakeReader

type FakeReader struct {
	ReadStub func(p []byte) (n int, err error)
	// contains filtered or unexported fields
}

func (*FakeReader) Read

func (fake *FakeReader) Read(p []byte) (n int, err error)

func (*FakeReader) ReadArgsForCall

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

func (*FakeReader) ReadCallCount

func (fake *FakeReader) ReadCallCount() int

func (*FakeReader) ReadReturns

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

type FakeWriteCloser

type FakeWriteCloser struct {
	WriteStub func(p []byte) (n int, err error)

	CloseStub func() error
	// contains filtered or unexported fields
}

func (*FakeWriteCloser) Close

func (fake *FakeWriteCloser) Close() error

func (*FakeWriteCloser) CloseCallCount

func (fake *FakeWriteCloser) CloseCallCount() int

func (*FakeWriteCloser) CloseReturns

func (fake *FakeWriteCloser) CloseReturns(result1 error)

func (*FakeWriteCloser) Write

func (fake *FakeWriteCloser) Write(p []byte) (n int, err error)

func (*FakeWriteCloser) WriteArgsForCall

func (fake *FakeWriteCloser) WriteArgsForCall(i int) []byte

func (*FakeWriteCloser) WriteCallCount

func (fake *FakeWriteCloser) WriteCallCount() int

func (*FakeWriteCloser) WriteReturns

func (fake *FakeWriteCloser) WriteReturns(result1 int, result2 error)

type FakeWriter

type FakeWriter struct {
	WriteStub func(p []byte) (n int, err error)
	// contains filtered or unexported fields
}

func (*FakeWriter) Write

func (fake *FakeWriter) Write(p []byte) (n int, err error)

func (*FakeWriter) WriteArgsForCall

func (fake *FakeWriter) WriteArgsForCall(i int) []byte

func (*FakeWriter) WriteCallCount

func (fake *FakeWriter) WriteCallCount() int

func (*FakeWriter) WriteReturns

func (fake *FakeWriter) WriteReturns(result1 int, result2 error)

Jump to

Keyboard shortcuts

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