Documentation ¶
Index ¶
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 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) 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)
Click to show internal directories.
Click to hide internal directories.