ioutilxfakes

package
v0.0.0-...-8366d43 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

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 FakeFileInfo

type FakeFileInfo struct {
	NameStub func() string

	SizeStub func() int64

	ModeStub func() os.FileMode

	ModTimeStub func() time.Time

	IsDirStub func() bool

	SysStub func() interface{}
	// contains filtered or unexported fields
}

func (*FakeFileInfo) Invocations

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

func (*FakeFileInfo) IsDir

func (fake *FakeFileInfo) IsDir() bool

func (*FakeFileInfo) IsDirCallCount

func (fake *FakeFileInfo) IsDirCallCount() int

func (*FakeFileInfo) IsDirReturns

func (fake *FakeFileInfo) IsDirReturns(result1 bool)

func (*FakeFileInfo) IsDirReturnsOnCall

func (fake *FakeFileInfo) IsDirReturnsOnCall(i int, result1 bool)

func (*FakeFileInfo) ModTime

func (fake *FakeFileInfo) ModTime() time.Time

func (*FakeFileInfo) ModTimeCallCount

func (fake *FakeFileInfo) ModTimeCallCount() int

func (*FakeFileInfo) ModTimeReturns

func (fake *FakeFileInfo) ModTimeReturns(result1 time.Time)

func (*FakeFileInfo) ModTimeReturnsOnCall

func (fake *FakeFileInfo) ModTimeReturnsOnCall(i int, result1 time.Time)

func (*FakeFileInfo) Mode

func (fake *FakeFileInfo) Mode() os.FileMode

func (*FakeFileInfo) ModeCallCount

func (fake *FakeFileInfo) ModeCallCount() int

func (*FakeFileInfo) ModeReturns

func (fake *FakeFileInfo) ModeReturns(result1 os.FileMode)

func (*FakeFileInfo) ModeReturnsOnCall

func (fake *FakeFileInfo) ModeReturnsOnCall(i int, result1 os.FileMode)

func (*FakeFileInfo) Name

func (fake *FakeFileInfo) Name() string

func (*FakeFileInfo) NameCallCount

func (fake *FakeFileInfo) NameCallCount() int

func (*FakeFileInfo) NameReturns

func (fake *FakeFileInfo) NameReturns(result1 string)

func (*FakeFileInfo) NameReturnsOnCall

func (fake *FakeFileInfo) NameReturnsOnCall(i int, result1 string)

func (*FakeFileInfo) Size

func (fake *FakeFileInfo) Size() int64

func (*FakeFileInfo) SizeCallCount

func (fake *FakeFileInfo) SizeCallCount() int

func (*FakeFileInfo) SizeReturns

func (fake *FakeFileInfo) SizeReturns(result1 int64)

func (*FakeFileInfo) SizeReturnsOnCall

func (fake *FakeFileInfo) SizeReturnsOnCall(i int, result1 int64)

func (*FakeFileInfo) Sys

func (fake *FakeFileInfo) Sys() interface{}

func (*FakeFileInfo) SysCallCount

func (fake *FakeFileInfo) SysCallCount() int

func (*FakeFileInfo) SysReturns

func (fake *FakeFileInfo) SysReturns(result1 interface{})

func (*FakeFileInfo) SysReturnsOnCall

func (fake *FakeFileInfo) SysReturnsOnCall(i int, result1 interface{})

type FakeFileReader

type FakeFileReader struct {
	ReadFileStub func(string) ([]byte, error)
	// contains filtered or unexported fields
}

func (*FakeFileReader) Invocations

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

func (*FakeFileReader) ReadFile

func (fake *FakeFileReader) ReadFile(arg1 string) ([]byte, error)

func (*FakeFileReader) ReadFileArgsForCall

func (fake *FakeFileReader) ReadFileArgsForCall(i int) string

func (*FakeFileReader) ReadFileCallCount

func (fake *FakeFileReader) ReadFileCallCount() int

func (*FakeFileReader) ReadFileReturns

func (fake *FakeFileReader) ReadFileReturns(result1 []byte, result2 error)

func (*FakeFileReader) ReadFileReturnsOnCall

func (fake *FakeFileReader) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)

type FakeStatter

type FakeStatter struct {
	StatStub func(string) (os.FileInfo, error)
	// contains filtered or unexported fields
}

func (*FakeStatter) Invocations

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

func (*FakeStatter) Stat

func (fake *FakeStatter) Stat(arg1 string) (os.FileInfo, error)

func (*FakeStatter) StatArgsForCall

func (fake *FakeStatter) StatArgsForCall(i int) string

func (*FakeStatter) StatCallCount

func (fake *FakeStatter) StatCallCount() int

func (*FakeStatter) StatReturns

func (fake *FakeStatter) StatReturns(result1 os.FileInfo, result2 error)

func (*FakeStatter) StatReturnsOnCall

func (fake *FakeStatter) StatReturnsOnCall(i int, result1 os.FileInfo, result2 error)

Jump to

Keyboard shortcuts

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