mocks

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SftpInterface

type SftpInterface struct {
	mock.Mock
}

SftpInterface is an autogenerated mock type for the SftpInterface type

func (*SftpInterface) IOCopy64

func (_m *SftpInterface) IOCopy64(size int64, srcPath string, dstPath string, hostSign string, logger *logrus.Logger) error

IOCopy64 provides a mock function with given fields: size, srcPath, dstPath, hostSign, logger

func (*SftpInterface) NewSftpClient

func (_m *SftpInterface) NewSftpClient(server runner.ServerInternal, timeout time.Duration) error

NewSftpClient provides a mock function with given fields: server, timeout

func (*SftpInterface) SftpChmod

func (_m *SftpInterface) SftpChmod(dstPath string, mode fs.FileMode) error

SftpChmod provides a mock function with given fields: dstPath, mode

func (*SftpInterface) SftpCreate

func (_m *SftpInterface) SftpCreate(path string) error

SftpCreate provides a mock function with given fields: path

Jump to

Keyboard shortcuts

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