copymock

package
v0.0.0-...-746469e Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CopyMock

type CopyMock struct {
	mock.Mock
}

func (*CopyMock) Copy

func (cm *CopyMock) Copy(wr io.Writer, rd io.Reader, timeout time.Duration, cancel <-chan bool, chunkSize int, skip int, count int, compressed bool) (bool, error)

func (*CopyMock) CopyFile

func (cm *CopyMock) CopyFile(fsBackend afero.Fs, libarchiveBackend libarchive.API, sourcePath string, targetPath string, chunkSize int, skip int, seek int, count int, truncate bool, compressed bool) error

func (*CopyMock) CopyToProcessStdin

func (cm *CopyMock) CopyToProcessStdin(fsBackend afero.Fs, libarchiveBackend libarchive.API, sourcePath string, processCmdline string, compressed bool) error

Jump to

Keyboard shortcuts

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