Documentation ¶
Overview ¶
This file was generated by counterfeiter
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeFileInfo
- func (fake *FakeFileInfo) IsDir() bool
- func (fake *FakeFileInfo) IsDirCallCount() int
- func (fake *FakeFileInfo) IsDirReturns(result1 bool)
- func (fake *FakeFileInfo) ModTime() time.Time
- func (fake *FakeFileInfo) ModTimeCallCount() int
- func (fake *FakeFileInfo) ModTimeReturns(result1 time.Time)
- func (fake *FakeFileInfo) Mode() os.FileMode
- func (fake *FakeFileInfo) ModeCallCount() int
- func (fake *FakeFileInfo) ModeReturns(result1 os.FileMode)
- func (fake *FakeFileInfo) Name() string
- func (fake *FakeFileInfo) NameCallCount() int
- func (fake *FakeFileInfo) NameReturns(result1 string)
- func (fake *FakeFileInfo) Size() int64
- func (fake *FakeFileInfo) SizeCallCount() int
- func (fake *FakeFileInfo) SizeReturns(result1 int64)
- func (fake *FakeFileInfo) Sys() interface{}
- func (fake *FakeFileInfo) SysCallCount() int
- func (fake *FakeFileInfo) SysReturns(result1 interface{})
- type FakeIoutil
- func (fake *FakeIoutil) Invocations() map[string][][]interface{}
- func (fake *FakeIoutil) NopCloser(arg1 io.Reader) io.ReadCloser
- func (fake *FakeIoutil) NopCloserArgsForCall(i int) io.Reader
- func (fake *FakeIoutil) NopCloserCallCount() int
- func (fake *FakeIoutil) NopCloserCalls(stub func(io.Reader) io.ReadCloser)
- func (fake *FakeIoutil) NopCloserReturns(result1 io.ReadCloser)
- func (fake *FakeIoutil) NopCloserReturnsOnCall(i int, result1 io.ReadCloser)
- func (fake *FakeIoutil) ReadAll(arg1 io.Reader) ([]byte, error)
- func (fake *FakeIoutil) ReadAllArgsForCall(i int) io.Reader
- func (fake *FakeIoutil) ReadAllCallCount() int
- func (fake *FakeIoutil) ReadAllCalls(stub func(io.Reader) ([]byte, error))
- func (fake *FakeIoutil) ReadAllReturns(result1 []byte, result2 error)
- func (fake *FakeIoutil) ReadAllReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeIoutil) ReadDir(arg1 string) ([]os.FileInfo, error)
- func (fake *FakeIoutil) ReadDirArgsForCall(i int) string
- func (fake *FakeIoutil) ReadDirCallCount() int
- func (fake *FakeIoutil) ReadDirCalls(stub func(string) ([]os.FileInfo, error))
- func (fake *FakeIoutil) ReadDirReturns(result1 []os.FileInfo, result2 error)
- func (fake *FakeIoutil) ReadDirReturnsOnCall(i int, result1 []os.FileInfo, result2 error)
- func (fake *FakeIoutil) ReadFile(arg1 string) ([]byte, error)
- func (fake *FakeIoutil) ReadFileArgsForCall(i int) string
- func (fake *FakeIoutil) ReadFileCallCount() int
- func (fake *FakeIoutil) ReadFileCalls(stub func(string) ([]byte, error))
- func (fake *FakeIoutil) ReadFileReturns(result1 []byte, result2 error)
- func (fake *FakeIoutil) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeIoutil) TempDir(arg1 string, arg2 string) (string, error)
- func (fake *FakeIoutil) TempDirArgsForCall(i int) (string, string)
- func (fake *FakeIoutil) TempDirCallCount() int
- func (fake *FakeIoutil) TempDirCalls(stub func(string, string) (string, error))
- func (fake *FakeIoutil) TempDirReturns(result1 string, result2 error)
- func (fake *FakeIoutil) TempDirReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeIoutil) TempFile(arg1 string, arg2 string) (osshim.File, error)
- func (fake *FakeIoutil) TempFileArgsForCall(i int) (string, string)
- func (fake *FakeIoutil) TempFileCallCount() int
- func (fake *FakeIoutil) TempFileCalls(stub func(string, string) (osshim.File, error))
- func (fake *FakeIoutil) TempFileReturns(result1 osshim.File, result2 error)
- func (fake *FakeIoutil) TempFileReturnsOnCall(i int, result1 osshim.File, result2 error)
- func (fake *FakeIoutil) WriteFile(arg1 string, arg2 []byte, arg3 os.FileMode) error
- func (fake *FakeIoutil) WriteFileArgsForCall(i int) (string, []byte, os.FileMode)
- func (fake *FakeIoutil) WriteFileCallCount() int
- func (fake *FakeIoutil) WriteFileCalls(stub func(string, []byte, os.FileMode) error)
- func (fake *FakeIoutil) WriteFileReturns(result1 error)
- func (fake *FakeIoutil) WriteFileReturnsOnCall(i int, result1 error)
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) 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) 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) 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) 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) 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) Sys ¶
func (fake *FakeFileInfo) Sys() interface{}
func (*FakeFileInfo) SysCallCount ¶
func (fake *FakeFileInfo) SysCallCount() int
func (*FakeFileInfo) SysReturns ¶
func (fake *FakeFileInfo) SysReturns(result1 interface{})
type FakeIoutil ¶
type FakeIoutil struct { NopCloserStub func(io.Reader) io.ReadCloser ReadAllStub func(io.Reader) ([]byte, error) ReadDirStub func(string) ([]os.FileInfo, error) ReadFileStub func(string) ([]byte, error) TempDirStub func(string, string) (string, error) TempFileStub func(string, string) (osshim.File, error) WriteFileStub func(string, []byte, os.FileMode) error // contains filtered or unexported fields }
func (*FakeIoutil) Invocations ¶
func (fake *FakeIoutil) Invocations() map[string][][]interface{}
func (*FakeIoutil) NopCloser ¶
func (fake *FakeIoutil) NopCloser(arg1 io.Reader) io.ReadCloser
func (*FakeIoutil) NopCloserArgsForCall ¶
func (fake *FakeIoutil) NopCloserArgsForCall(i int) io.Reader
func (*FakeIoutil) NopCloserCallCount ¶
func (fake *FakeIoutil) NopCloserCallCount() int
func (*FakeIoutil) NopCloserCalls ¶
func (fake *FakeIoutil) NopCloserCalls(stub func(io.Reader) io.ReadCloser)
func (*FakeIoutil) NopCloserReturns ¶
func (fake *FakeIoutil) NopCloserReturns(result1 io.ReadCloser)
func (*FakeIoutil) NopCloserReturnsOnCall ¶
func (fake *FakeIoutil) NopCloserReturnsOnCall(i int, result1 io.ReadCloser)
func (*FakeIoutil) ReadAllArgsForCall ¶
func (fake *FakeIoutil) ReadAllArgsForCall(i int) io.Reader
func (*FakeIoutil) ReadAllCallCount ¶
func (fake *FakeIoutil) ReadAllCallCount() int
func (*FakeIoutil) ReadAllCalls ¶
func (fake *FakeIoutil) ReadAllCalls(stub func(io.Reader) ([]byte, error))
func (*FakeIoutil) ReadAllReturns ¶
func (fake *FakeIoutil) ReadAllReturns(result1 []byte, result2 error)
func (*FakeIoutil) ReadAllReturnsOnCall ¶
func (fake *FakeIoutil) ReadAllReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeIoutil) ReadDirArgsForCall ¶
func (fake *FakeIoutil) ReadDirArgsForCall(i int) string
func (*FakeIoutil) ReadDirCallCount ¶
func (fake *FakeIoutil) ReadDirCallCount() int
func (*FakeIoutil) ReadDirCalls ¶
func (fake *FakeIoutil) ReadDirCalls(stub func(string) ([]os.FileInfo, error))
func (*FakeIoutil) ReadDirReturns ¶
func (fake *FakeIoutil) ReadDirReturns(result1 []os.FileInfo, result2 error)
func (*FakeIoutil) ReadDirReturnsOnCall ¶
func (fake *FakeIoutil) ReadDirReturnsOnCall(i int, result1 []os.FileInfo, result2 error)
func (*FakeIoutil) ReadFileArgsForCall ¶
func (fake *FakeIoutil) ReadFileArgsForCall(i int) string
func (*FakeIoutil) ReadFileCallCount ¶
func (fake *FakeIoutil) ReadFileCallCount() int
func (*FakeIoutil) ReadFileCalls ¶
func (fake *FakeIoutil) ReadFileCalls(stub func(string) ([]byte, error))
func (*FakeIoutil) ReadFileReturns ¶
func (fake *FakeIoutil) ReadFileReturns(result1 []byte, result2 error)
func (*FakeIoutil) ReadFileReturnsOnCall ¶
func (fake *FakeIoutil) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeIoutil) TempDir ¶
func (fake *FakeIoutil) TempDir(arg1 string, arg2 string) (string, error)
func (*FakeIoutil) TempDirArgsForCall ¶
func (fake *FakeIoutil) TempDirArgsForCall(i int) (string, string)
func (*FakeIoutil) TempDirCallCount ¶
func (fake *FakeIoutil) TempDirCallCount() int
func (*FakeIoutil) TempDirCalls ¶
func (fake *FakeIoutil) TempDirCalls(stub func(string, string) (string, error))
func (*FakeIoutil) TempDirReturns ¶
func (fake *FakeIoutil) TempDirReturns(result1 string, result2 error)
func (*FakeIoutil) TempDirReturnsOnCall ¶
func (fake *FakeIoutil) TempDirReturnsOnCall(i int, result1 string, result2 error)
func (*FakeIoutil) TempFileArgsForCall ¶
func (fake *FakeIoutil) TempFileArgsForCall(i int) (string, string)
func (*FakeIoutil) TempFileCallCount ¶
func (fake *FakeIoutil) TempFileCallCount() int
func (*FakeIoutil) TempFileCalls ¶
func (*FakeIoutil) TempFileReturns ¶
func (fake *FakeIoutil) TempFileReturns(result1 osshim.File, result2 error)
func (*FakeIoutil) TempFileReturnsOnCall ¶
func (fake *FakeIoutil) TempFileReturnsOnCall(i int, result1 osshim.File, result2 error)
func (*FakeIoutil) WriteFileArgsForCall ¶
func (*FakeIoutil) WriteFileCallCount ¶
func (fake *FakeIoutil) WriteFileCallCount() int
func (*FakeIoutil) WriteFileCalls ¶
func (*FakeIoutil) WriteFileReturns ¶
func (fake *FakeIoutil) WriteFileReturns(result1 error)
func (*FakeIoutil) WriteFileReturnsOnCall ¶
func (fake *FakeIoutil) WriteFileReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.