Documentation
¶
Index ¶
- type SftpInterface
- func (_m *SftpInterface) IOCopy64(size int64, srcPath string, dstPath string, hostSign string, ...) error
- func (_m *SftpInterface) NewSftpClient(server runner.ServerInternal, timeout time.Duration) error
- func (_m *SftpInterface) SftpChmod(dstPath string, mode fs.FileMode) error
- func (_m *SftpInterface) SftpCreate(path string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SftpInterface ¶
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
Click to show internal directories.
Click to hide internal directories.