Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeCompressor
- func (fc *FakeCompressor) CleanUp(tarballPath string) error
- func (fc *FakeCompressor) CompressFilesInDir(dir string) (string, error)
- func (fc *FakeCompressor) CompressSpecificFilesInDir(dir string, files []string) (string, error)
- func (fc *FakeCompressor) DecompressFileToDir(tarballPath string, dir string, options boshcmd.CompressorOptions) (err error)
- type FakeCopier
- type FakeMover
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCompressor ¶
type FakeCompressor struct { CompressFilesInDirDir string CompressFilesInDirTarballPath string CompressFilesInDirErr error CompressFilesInDirCallBack func() CompressSpecificFilesInDirDir string CompressSpecificFilesInDirFiles []string CompressSpecificFilesInDirTarballPath string CompressSpecificFilesInDirErr error CompressSpecificFilesInDirCallBack func() DecompressFileToDirTarballPaths []string DecompressFileToDirDirs []string DecompressFileToDirOptions []boshcmd.CompressorOptions DecompressFileToDirErr error DecompressFileToDirCallBack func() CleanUpTarballPath string CleanUpErr error }
func NewFakeCompressor ¶
func NewFakeCompressor() *FakeCompressor
func (*FakeCompressor) CleanUp ¶
func (fc *FakeCompressor) CleanUp(tarballPath string) error
func (*FakeCompressor) CompressFilesInDir ¶
func (fc *FakeCompressor) CompressFilesInDir(dir string) (string, error)
func (*FakeCompressor) CompressSpecificFilesInDir ¶
func (fc *FakeCompressor) CompressSpecificFilesInDir(dir string, files []string) (string, error)
func (*FakeCompressor) DecompressFileToDir ¶
func (fc *FakeCompressor) DecompressFileToDir(tarballPath string, dir string, options boshcmd.CompressorOptions) (err error)
type FakeCopier ¶
type FakeCopier struct { FilteredCopyToTempTempDir string FilteredCopyToTempError error FilteredCopyToTempDir string FilteredCopyToTempFilters []string CleanUpTempDir string }
func NewFakeCopier ¶
func NewFakeCopier() (copier *FakeCopier)
func (*FakeCopier) CleanUp ¶
func (c *FakeCopier) CleanUp(tempDir string)
func (*FakeCopier) FilteredCopyToTemp ¶
func (c *FakeCopier) FilteredCopyToTemp(dir string, filters []string) (tempDir string, err error)
type FakeMover ¶
type FakeMover struct { MoveStub func(string, string) error // contains filtered or unexported fields }
func (*FakeMover) Invocations ¶
func (*FakeMover) MoveCallCount ¶
func (*FakeMover) MoveReturns ¶
Click to show internal directories.
Click to hide internal directories.