Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FileInfo
- func (fake *FileInfo) Invocations() map[string][][]interface{}
- func (fake *FileInfo) IsDir() bool
- func (fake *FileInfo) IsDirCallCount() int
- func (fake *FileInfo) IsDirCalls(stub func() bool)
- func (fake *FileInfo) IsDirReturns(result1 bool)
- func (fake *FileInfo) IsDirReturnsOnCall(i int, result1 bool)
- func (fake *FileInfo) ModTime() time.Time
- func (fake *FileInfo) ModTimeCallCount() int
- func (fake *FileInfo) ModTimeCalls(stub func() time.Time)
- func (fake *FileInfo) ModTimeReturns(result1 time.Time)
- func (fake *FileInfo) ModTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *FileInfo) Mode() fs.FileMode
- func (fake *FileInfo) ModeCallCount() int
- func (fake *FileInfo) ModeCalls(stub func() fs.FileMode)
- func (fake *FileInfo) ModeReturns(result1 fs.FileMode)
- func (fake *FileInfo) ModeReturnsOnCall(i int, result1 fs.FileMode)
- func (fake *FileInfo) Name() string
- func (fake *FileInfo) NameCallCount() int
- func (fake *FileInfo) NameCalls(stub func() string)
- func (fake *FileInfo) NameReturns(result1 string)
- func (fake *FileInfo) NameReturnsOnCall(i int, result1 string)
- func (fake *FileInfo) Size() int64
- func (fake *FileInfo) SizeCallCount() int
- func (fake *FileInfo) SizeCalls(stub func() int64)
- func (fake *FileInfo) SizeReturns(result1 int64)
- func (fake *FileInfo) SizeReturnsOnCall(i int, result1 int64)
- func (fake *FileInfo) Sys() any
- func (fake *FileInfo) SysCallCount() int
- func (fake *FileInfo) SysCalls(stub func() any)
- func (fake *FileInfo) SysReturns(result1 any)
- func (fake *FileInfo) SysReturnsOnCall(i int, result1 any)
- type Filesystem
- func (fake *Filesystem) Create(arg1 string) (io.WriteCloser, error)
- func (fake *Filesystem) CreateArgsForCall(i int) string
- func (fake *Filesystem) CreateCallCount() int
- func (fake *Filesystem) CreateCalls(stub func(string) (io.WriteCloser, error))
- func (fake *Filesystem) CreateReturns(result1 io.WriteCloser, result2 error)
- func (fake *Filesystem) CreateReturnsOnCall(i int, result1 io.WriteCloser, result2 error)
- func (fake *Filesystem) Invocations() map[string][][]interface{}
- func (fake *Filesystem) Open(arg1 string) (io.ReadCloser, error)
- func (fake *Filesystem) OpenArgsForCall(i int) string
- func (fake *Filesystem) OpenCallCount() int
- func (fake *Filesystem) OpenCalls(stub func(string) (io.ReadCloser, error))
- func (fake *Filesystem) OpenReturns(result1 io.ReadCloser, result2 error)
- func (fake *Filesystem) OpenReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
- func (fake *Filesystem) Remove(arg1 string) error
- func (fake *Filesystem) RemoveArgsForCall(i int) string
- func (fake *Filesystem) RemoveCallCount() int
- func (fake *Filesystem) RemoveCalls(stub func(string) error)
- func (fake *Filesystem) RemoveReturns(result1 error)
- func (fake *Filesystem) RemoveReturnsOnCall(i int, result1 error)
- func (fake *Filesystem) Walk(arg1 string, arg2 filepath.WalkFunc) error
- func (fake *Filesystem) WalkArgsForCall(i int) (string, filepath.WalkFunc)
- func (fake *Filesystem) WalkCallCount() int
- func (fake *Filesystem) WalkCalls(stub func(string, filepath.WalkFunc) error)
- func (fake *Filesystem) WalkReturns(result1 error)
- func (fake *Filesystem) WalkReturnsOnCall(i int, result1 error)
- type Logger
- type ReadCloser
- func (fake *ReadCloser) Close() error
- func (fake *ReadCloser) CloseCallCount() int
- func (fake *ReadCloser) CloseCalls(stub func() error)
- func (fake *ReadCloser) CloseReturns(result1 error)
- func (fake *ReadCloser) CloseReturnsOnCall(i int, result1 error)
- func (fake *ReadCloser) Invocations() map[string][][]interface{}
- func (fake *ReadCloser) Read(arg1 []byte) (int, error)
- func (fake *ReadCloser) ReadArgsForCall(i int) []byte
- func (fake *ReadCloser) ReadCallCount() int
- func (fake *ReadCloser) ReadCalls(stub func([]byte) (int, error))
- func (fake *ReadCloser) ReadReturns(result1 int, result2 error)
- func (fake *ReadCloser) ReadReturnsOnCall(i int, result1 int, result2 error)
- type Zipper
- func (fake *Zipper) Add(arg1 string, arg2 io.Reader) error
- func (fake *Zipper) AddArgsForCall(i int) (string, io.Reader)
- func (fake *Zipper) AddCallCount() int
- func (fake *Zipper) AddCalls(stub func(string, io.Reader) error)
- func (fake *Zipper) AddReturns(result1 error)
- func (fake *Zipper) AddReturnsOnCall(i int, result1 error)
- func (fake *Zipper) AddWithMode(arg1 string, arg2 io.Reader, arg3 fs.FileMode) error
- func (fake *Zipper) AddWithModeArgsForCall(i int) (string, io.Reader, fs.FileMode)
- func (fake *Zipper) AddWithModeCallCount() int
- func (fake *Zipper) AddWithModeCalls(stub func(string, io.Reader, fs.FileMode) error)
- func (fake *Zipper) AddWithModeReturns(result1 error)
- func (fake *Zipper) AddWithModeReturnsOnCall(i int, result1 error)
- func (fake *Zipper) Close() error
- func (fake *Zipper) CloseCallCount() int
- func (fake *Zipper) CloseCalls(stub func() error)
- func (fake *Zipper) CloseReturns(result1 error)
- func (fake *Zipper) CloseReturnsOnCall(i int, result1 error)
- func (fake *Zipper) CreateFolder(arg1 string) error
- func (fake *Zipper) CreateFolderArgsForCall(i int) string
- func (fake *Zipper) CreateFolderCallCount() int
- func (fake *Zipper) CreateFolderCalls(stub func(string) error)
- func (fake *Zipper) CreateFolderReturns(result1 error)
- func (fake *Zipper) CreateFolderReturnsOnCall(i int, result1 error)
- func (fake *Zipper) Invocations() map[string][][]interface{}
- func (fake *Zipper) SetWriter(arg1 io.Writer)
- func (fake *Zipper) SetWriterArgsForCall(i int) io.Writer
- func (fake *Zipper) SetWriterCallCount() int
- func (fake *Zipper) SetWriterCalls(stub func(io.Writer))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileInfo ¶
type FileInfo struct { IsDirStub func() bool ModTimeStub func() time.Time ModeStub func() fs.FileMode NameStub func() string SizeStub func() int64 SysStub func() any // contains filtered or unexported fields }
func (*FileInfo) Invocations ¶
func (*FileInfo) IsDirCallCount ¶
func (*FileInfo) IsDirCalls ¶
func (*FileInfo) IsDirReturns ¶
func (*FileInfo) IsDirReturnsOnCall ¶
func (*FileInfo) ModTimeCallCount ¶
func (*FileInfo) ModTimeCalls ¶
func (*FileInfo) ModTimeReturns ¶
func (*FileInfo) ModTimeReturnsOnCall ¶
func (*FileInfo) ModeCallCount ¶
func (*FileInfo) ModeReturns ¶
func (*FileInfo) ModeReturnsOnCall ¶
func (*FileInfo) NameCallCount ¶
func (*FileInfo) NameReturns ¶
func (*FileInfo) NameReturnsOnCall ¶
func (*FileInfo) SizeCallCount ¶
func (*FileInfo) SizeReturns ¶
func (*FileInfo) SizeReturnsOnCall ¶
func (*FileInfo) SysCallCount ¶
func (*FileInfo) SysReturns ¶
func (*FileInfo) SysReturnsOnCall ¶
type Filesystem ¶
type Filesystem struct { CreateStub func(string) (io.WriteCloser, error) OpenStub func(string) (io.ReadCloser, error) RemoveStub func(string) error WalkStub func(string, filepath.WalkFunc) error // contains filtered or unexported fields }
func (*Filesystem) Create ¶
func (fake *Filesystem) Create(arg1 string) (io.WriteCloser, error)
func (*Filesystem) CreateArgsForCall ¶
func (fake *Filesystem) CreateArgsForCall(i int) string
func (*Filesystem) CreateCallCount ¶
func (fake *Filesystem) CreateCallCount() int
func (*Filesystem) CreateCalls ¶
func (fake *Filesystem) CreateCalls(stub func(string) (io.WriteCloser, error))
func (*Filesystem) CreateReturns ¶
func (fake *Filesystem) CreateReturns(result1 io.WriteCloser, result2 error)
func (*Filesystem) CreateReturnsOnCall ¶
func (fake *Filesystem) CreateReturnsOnCall(i int, result1 io.WriteCloser, result2 error)
func (*Filesystem) Invocations ¶
func (fake *Filesystem) Invocations() map[string][][]interface{}
func (*Filesystem) Open ¶
func (fake *Filesystem) Open(arg1 string) (io.ReadCloser, error)
func (*Filesystem) OpenArgsForCall ¶
func (fake *Filesystem) OpenArgsForCall(i int) string
func (*Filesystem) OpenCallCount ¶
func (fake *Filesystem) OpenCallCount() int
func (*Filesystem) OpenCalls ¶
func (fake *Filesystem) OpenCalls(stub func(string) (io.ReadCloser, error))
func (*Filesystem) OpenReturns ¶
func (fake *Filesystem) OpenReturns(result1 io.ReadCloser, result2 error)
func (*Filesystem) OpenReturnsOnCall ¶
func (fake *Filesystem) OpenReturnsOnCall(i int, result1 io.ReadCloser, result2 error)
func (*Filesystem) Remove ¶
func (fake *Filesystem) Remove(arg1 string) error
func (*Filesystem) RemoveArgsForCall ¶
func (fake *Filesystem) RemoveArgsForCall(i int) string
func (*Filesystem) RemoveCallCount ¶
func (fake *Filesystem) RemoveCallCount() int
func (*Filesystem) RemoveCalls ¶
func (fake *Filesystem) RemoveCalls(stub func(string) error)
func (*Filesystem) RemoveReturns ¶
func (fake *Filesystem) RemoveReturns(result1 error)
func (*Filesystem) RemoveReturnsOnCall ¶
func (fake *Filesystem) RemoveReturnsOnCall(i int, result1 error)
func (*Filesystem) WalkArgsForCall ¶
func (fake *Filesystem) WalkArgsForCall(i int) (string, filepath.WalkFunc)
func (*Filesystem) WalkCallCount ¶
func (fake *Filesystem) WalkCallCount() int
func (*Filesystem) WalkCalls ¶
func (fake *Filesystem) WalkCalls(stub func(string, filepath.WalkFunc) error)
func (*Filesystem) WalkReturns ¶
func (fake *Filesystem) WalkReturns(result1 error)
func (*Filesystem) WalkReturnsOnCall ¶
func (fake *Filesystem) WalkReturnsOnCall(i int, result1 error)
type Logger ¶
type ReadCloser ¶
type ReadCloser struct { CloseStub func() error ReadStub func([]byte) (int, error) // contains filtered or unexported fields }
func (*ReadCloser) Close ¶
func (fake *ReadCloser) Close() error
func (*ReadCloser) CloseCallCount ¶
func (fake *ReadCloser) CloseCallCount() int
func (*ReadCloser) CloseCalls ¶
func (fake *ReadCloser) CloseCalls(stub func() error)
func (*ReadCloser) CloseReturns ¶
func (fake *ReadCloser) CloseReturns(result1 error)
func (*ReadCloser) CloseReturnsOnCall ¶
func (fake *ReadCloser) CloseReturnsOnCall(i int, result1 error)
func (*ReadCloser) Invocations ¶
func (fake *ReadCloser) Invocations() map[string][][]interface{}
func (*ReadCloser) ReadArgsForCall ¶
func (fake *ReadCloser) ReadArgsForCall(i int) []byte
func (*ReadCloser) ReadCallCount ¶
func (fake *ReadCloser) ReadCallCount() int
func (*ReadCloser) ReadReturns ¶
func (fake *ReadCloser) ReadReturns(result1 int, result2 error)
func (*ReadCloser) ReadReturnsOnCall ¶
func (fake *ReadCloser) ReadReturnsOnCall(i int, result1 int, result2 error)
type Zipper ¶
type Zipper struct { AddStub func(string, io.Reader) error AddWithModeStub func(string, io.Reader, fs.FileMode) error CloseStub func() error CreateFolderStub func(string) error SetWriterStub func(io.Writer) // contains filtered or unexported fields }
func (*Zipper) AddCallCount ¶
func (*Zipper) AddReturns ¶
func (*Zipper) AddReturnsOnCall ¶
func (*Zipper) AddWithMode ¶
func (*Zipper) AddWithModeArgsForCall ¶
func (*Zipper) AddWithModeCallCount ¶
func (*Zipper) AddWithModeCalls ¶
func (*Zipper) AddWithModeReturns ¶
func (*Zipper) AddWithModeReturnsOnCall ¶
func (*Zipper) CloseCallCount ¶
func (*Zipper) CloseCalls ¶
func (*Zipper) CloseReturns ¶
func (*Zipper) CloseReturnsOnCall ¶
func (*Zipper) CreateFolder ¶
func (*Zipper) CreateFolderArgsForCall ¶
func (*Zipper) CreateFolderCallCount ¶
func (*Zipper) CreateFolderCalls ¶
func (*Zipper) CreateFolderReturns ¶
func (*Zipper) CreateFolderReturnsOnCall ¶
func (*Zipper) Invocations ¶
func (*Zipper) SetWriterCallCount ¶
func (*Zipper) SetWriterCalls ¶
Click to show internal directories.
Click to hide internal directories.