mocks

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2019 License: EPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IoUtil

type IoUtil struct {
	mock.Mock
}

IoUtil is an autogenerated mock type for the IoUtil type

func (*IoUtil) CopyFile

func (_m *IoUtil) CopyFile(src string, dest string) error

CopyFile provides a mock function with given fields: src, dest

func (*IoUtil) CopyResource

func (_m *IoUtil) CopyResource(src string, dest string) error

CopyResource provides a mock function with given fields: src, dest

func (*IoUtil) CreateFile

func (_m *IoUtil) CreateFile(file string, tr io.Reader) error

CreateFile provides a mock function with given fields: file, tr

func (*IoUtil) Download

func (_m *IoUtil) Download(URL string, destPath string) error

Download provides a mock function with given fields: URL, destPath

func (*IoUtil) ResolveDestPath

func (_m *IoUtil) ResolveDestPath(filePath string, destDir string) string

ResolveDestPath provides a mock function with given fields: filePath, destDir

func (*IoUtil) ResolveDestPathFromURL

func (_m *IoUtil) ResolveDestPathFromURL(url string, destDir string) string

ResolveDestPathFromURL provides a mock function with given fields: url, destDir

func (*IoUtil) TempDir

func (_m *IoUtil) TempDir(_a0 string, _a1 string) (string, error)

TempDir provides a mock function with given fields: _a0, _a1

func (*IoUtil) Untar

func (_m *IoUtil) Untar(tarPath string, dest string) error

Untar provides a mock function with given fields: tarPath, dest

func (*IoUtil) Unzip

func (_m *IoUtil) Unzip(arch string, dest string) error

Unzip provides a mock function with given fields: arch, dest

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL