Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeAppFiles
- func (fake *FakeAppFiles) AppFilesInDir(dir string) (appFiles []models.AppFileFields, err error)
- func (fake *FakeAppFiles) AppFilesInDirArgsForCall(i int) string
- func (fake *FakeAppFiles) AppFilesInDirCallCount() int
- func (fake *FakeAppFiles) AppFilesInDirReturns(result1 []models.AppFileFields, result2 error)
- func (fake *FakeAppFiles) CopyFiles(appFiles []models.AppFileFields, fromDir string, toDir string) (err error)
- func (fake *FakeAppFiles) CopyFilesArgsForCall(i int) ([]models.AppFileFields, string, string)
- func (fake *FakeAppFiles) CopyFilesCallCount() int
- func (fake *FakeAppFiles) CopyFilesReturns(result1 error)
- func (fake *FakeAppFiles) CountFiles(directory string) int64
- func (fake *FakeAppFiles) CountFilesArgsForCall(i int) string
- func (fake *FakeAppFiles) CountFilesCallCount() int
- func (fake *FakeAppFiles) CountFilesReturns(result1 int64)
- func (fake *FakeAppFiles) WalkAppFiles(dir string, onEachFile func(string, string) error) (err error)
- func (fake *FakeAppFiles) WalkAppFilesArgsForCall(i int) (string, func(string, string) error)
- func (fake *FakeAppFiles) WalkAppFilesCallCount() int
- func (fake *FakeAppFiles) WalkAppFilesReturns(result1 error)
- type FakeZipper
- func (fake *FakeZipper) GetZipSize(zipFile *os.File) (int64, error)
- func (fake *FakeZipper) GetZipSizeArgsForCall(i int) *os.File
- func (fake *FakeZipper) GetZipSizeCallCount() int
- func (fake *FakeZipper) GetZipSizeReturns(result1 int64, result2 error)
- func (fake *FakeZipper) IsZipFile(path string) bool
- func (fake *FakeZipper) IsZipFileArgsForCall(i int) string
- func (fake *FakeZipper) IsZipFileCallCount() int
- func (fake *FakeZipper) IsZipFileReturns(result1 bool)
- func (fake *FakeZipper) Unzip(appDir string, destDir string) (err error)
- func (fake *FakeZipper) UnzipArgsForCall(i int) (string, string)
- func (fake *FakeZipper) UnzipCallCount() int
- func (fake *FakeZipper) UnzipReturns(result1 error)
- func (fake *FakeZipper) Zip(dirToZip string, targetFile *os.File) (err error)
- func (fake *FakeZipper) ZipArgsForCall(i int) (string, *os.File)
- func (fake *FakeZipper) ZipCallCount() int
- func (fake *FakeZipper) ZipReturns(result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppFiles ¶
type FakeAppFiles struct { AppFilesInDirStub func(dir string) (appFiles []models.AppFileFields, err error) CopyFilesStub func(appFiles []models.AppFileFields, fromDir, toDir string) (err error) CountFilesStub func(directory string) int64 WalkAppFilesStub func(dir string, onEachFile func(string, string) error) (err error) // contains filtered or unexported fields }
func (*FakeAppFiles) AppFilesInDir ¶
func (fake *FakeAppFiles) AppFilesInDir(dir string) (appFiles []models.AppFileFields, err error)
func (*FakeAppFiles) AppFilesInDirArgsForCall ¶
func (fake *FakeAppFiles) AppFilesInDirArgsForCall(i int) string
func (*FakeAppFiles) AppFilesInDirCallCount ¶
func (fake *FakeAppFiles) AppFilesInDirCallCount() int
func (*FakeAppFiles) AppFilesInDirReturns ¶
func (fake *FakeAppFiles) AppFilesInDirReturns(result1 []models.AppFileFields, result2 error)
func (*FakeAppFiles) CopyFiles ¶
func (fake *FakeAppFiles) CopyFiles(appFiles []models.AppFileFields, fromDir string, toDir string) (err error)
func (*FakeAppFiles) CopyFilesArgsForCall ¶
func (fake *FakeAppFiles) CopyFilesArgsForCall(i int) ([]models.AppFileFields, string, string)
func (*FakeAppFiles) CopyFilesCallCount ¶
func (fake *FakeAppFiles) CopyFilesCallCount() int
func (*FakeAppFiles) CopyFilesReturns ¶
func (fake *FakeAppFiles) CopyFilesReturns(result1 error)
func (*FakeAppFiles) CountFiles ¶
func (fake *FakeAppFiles) CountFiles(directory string) int64
func (*FakeAppFiles) CountFilesArgsForCall ¶
func (fake *FakeAppFiles) CountFilesArgsForCall(i int) string
func (*FakeAppFiles) CountFilesCallCount ¶
func (fake *FakeAppFiles) CountFilesCallCount() int
func (*FakeAppFiles) CountFilesReturns ¶
func (fake *FakeAppFiles) CountFilesReturns(result1 int64)
func (*FakeAppFiles) WalkAppFiles ¶
func (*FakeAppFiles) WalkAppFilesArgsForCall ¶
func (*FakeAppFiles) WalkAppFilesCallCount ¶
func (fake *FakeAppFiles) WalkAppFilesCallCount() int
func (*FakeAppFiles) WalkAppFilesReturns ¶
func (fake *FakeAppFiles) WalkAppFilesReturns(result1 error)
type FakeZipper ¶
type FakeZipper struct { ZipStub func(dirToZip string, targetFile *os.File) (err error) IsZipFileStub func(path string) bool UnzipStub func(appDir string, destDir string) (err error) GetZipSizeStub func(zipFile *os.File) (int64, error) // contains filtered or unexported fields }
func (*FakeZipper) GetZipSize ¶
func (fake *FakeZipper) GetZipSize(zipFile *os.File) (int64, error)
func (*FakeZipper) GetZipSizeArgsForCall ¶
func (fake *FakeZipper) GetZipSizeArgsForCall(i int) *os.File
func (*FakeZipper) GetZipSizeCallCount ¶
func (fake *FakeZipper) GetZipSizeCallCount() int
func (*FakeZipper) GetZipSizeReturns ¶
func (fake *FakeZipper) GetZipSizeReturns(result1 int64, result2 error)
func (*FakeZipper) IsZipFile ¶
func (fake *FakeZipper) IsZipFile(path string) bool
func (*FakeZipper) IsZipFileArgsForCall ¶
func (fake *FakeZipper) IsZipFileArgsForCall(i int) string
func (*FakeZipper) IsZipFileCallCount ¶
func (fake *FakeZipper) IsZipFileCallCount() int
func (*FakeZipper) IsZipFileReturns ¶
func (fake *FakeZipper) IsZipFileReturns(result1 bool)
func (*FakeZipper) UnzipArgsForCall ¶
func (fake *FakeZipper) UnzipArgsForCall(i int) (string, string)
func (*FakeZipper) UnzipCallCount ¶
func (fake *FakeZipper) UnzipCallCount() int
func (*FakeZipper) UnzipReturns ¶
func (fake *FakeZipper) UnzipReturns(result1 error)
func (*FakeZipper) Zip ¶
func (fake *FakeZipper) Zip(dirToZip string, targetFile *os.File) (err error)
func (*FakeZipper) ZipArgsForCall ¶
func (fake *FakeZipper) ZipArgsForCall(i int) (string, *os.File)
func (*FakeZipper) ZipCallCount ¶
func (fake *FakeZipper) ZipCallCount() int
func (*FakeZipper) ZipReturns ¶
func (fake *FakeZipper) ZipReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.