bosh-utils: github.com/cloudfoundry/bosh-utils/fileutil/fakes Index | Files

package fakes

import "github.com/cloudfoundry/bosh-utils/fileutil/fakes"

This file was generated by counterfeiter

Index

Package Files

fake_compressor.go fake_copier.go fake_mover.go

type FakeCompressor Uses

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 Uses

func NewFakeCompressor() *FakeCompressor

func (*FakeCompressor) CleanUp Uses

func (fc *FakeCompressor) CleanUp(tarballPath string) error

func (*FakeCompressor) CompressFilesInDir Uses

func (fc *FakeCompressor) CompressFilesInDir(dir string) (string, error)

func (*FakeCompressor) CompressSpecificFilesInDir Uses

func (fc *FakeCompressor) CompressSpecificFilesInDir(dir string, files []string) (string, error)

func (*FakeCompressor) DecompressFileToDir Uses

func (fc *FakeCompressor) DecompressFileToDir(tarballPath string, dir string, options boshcmd.CompressorOptions) (err error)

type FakeCopier Uses

type FakeCopier struct {
    FilteredCopyToTempTempDir string
    FilteredCopyToTempError   error
    FilteredCopyToTempDir     string
    FilteredCopyToTempFilters []string

    CleanUpTempDir string
}

func NewFakeCopier Uses

func NewFakeCopier() (copier *FakeCopier)

func (*FakeCopier) CleanUp Uses

func (c *FakeCopier) CleanUp(tempDir string)

func (*FakeCopier) FilteredCopyToTemp Uses

func (c *FakeCopier) FilteredCopyToTemp(dir string, filters []string) (tempDir string, err error)

type FakeMover Uses

type FakeMover struct {
    MoveStub func(string, string) error
    // contains filtered or unexported fields
}

func (*FakeMover) Invocations Uses

func (fake *FakeMover) Invocations() map[string][][]interface{}

func (*FakeMover) Move Uses

func (fake *FakeMover) Move(arg1 string, arg2 string) error

func (*FakeMover) MoveArgsForCall Uses

func (fake *FakeMover) MoveArgsForCall(i int) (string, string)

func (*FakeMover) MoveCallCount Uses

func (fake *FakeMover) MoveCallCount() int

func (*FakeMover) MoveReturns Uses

func (fake *FakeMover) MoveReturns(result1 error)

Package fakes imports 2 packages (graph) and is imported by 10 packages. Updated 2016-09-02. Refresh now. Tools for package owners.