mocks

package
v0.0.0-...-1b8497e Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2021 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 Dialer

type Dialer struct {
	mock.Mock
}

Dialer is an autogenerated mock type for the Dialer type

func (*Dialer) Dial

func (_m *Dialer) Dial(addr string) (ftp.ServerConnexion, error)

Dial provides a mock function with given fields: addr

func (*Dialer) DialTimeout

func (_m *Dialer) DialTimeout(addr string, timeout time.Duration) (ftp.ServerConnexion, error)

DialTimeout provides a mock function with given fields: addr, timeout

type ServerConnexion

type ServerConnexion struct {
	mock.Mock
}

ServerConnexion is an autogenerated mock type for the ServerConnexion type

func (*ServerConnexion) Delete

func (_m *ServerConnexion) Delete(oath string) error

Delete provides a mock function with given fields: oath

func (*ServerConnexion) FileSize

func (_m *ServerConnexion) FileSize(path string) (int64, error)

FileSize provides a mock function with given fields: path

func (*ServerConnexion) List

func (_m *ServerConnexion) List(sPath string) ([]*jlaffayeftp.Entry, error)

List provides a mock function with given fields: sPath

func (*ServerConnexion) Login

func (_m *ServerConnexion) Login(sUsername string, sPwd string) error

Login provides a mock function with given fields: sUsername, sPwd

func (*ServerConnexion) MakeDir

func (_m *ServerConnexion) MakeDir(sSource string) error

MakeDir provides a mock function with given fields: sSource

func (*ServerConnexion) Quit

func (_m *ServerConnexion) Quit() error

Quit provides a mock function with given fields:

func (*ServerConnexion) RemoveDir

func (_m *ServerConnexion) RemoveDir(sSource string) error

RemoveDir provides a mock function with given fields: sSource

func (*ServerConnexion) RemoveDirRecur

func (_m *ServerConnexion) RemoveDirRecur(sSource string) error

RemoveDirRecur provides a mock function with given fields: sSource

func (*ServerConnexion) Rename

func (_m *ServerConnexion) Rename(sSource string, sDestination string) error

Rename provides a mock function with given fields: sSource, sDestination

func (*ServerConnexion) Retr

func (_m *ServerConnexion) Retr(path string) (*jlaffayeftp.Response, error)

Retr provides a mock function with given fields: path

func (*ServerConnexion) Stor

func (_m *ServerConnexion) Stor(path string, oReader io.Reader) error

Stor provides a mock function with given fields: path, oReader

Jump to

Keyboard shortcuts

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