fake

package
v0.1.54 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2016 License: Apache-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 MockSFTPClient

type MockSFTPClient struct {
	FakeError error
}

MockSFTPClient - structure

func (*MockSFTPClient) Create

func (s *MockSFTPClient) Create(path string) (file *sftp.File, err error)

func (*MockSFTPClient) Mkdir

func (s *MockSFTPClient) Mkdir(path string) (err error)

func (*MockSFTPClient) ReadDir

func (s *MockSFTPClient) ReadDir(p string) (fileInfo []os.FileInfo, err error)

func (*MockSFTPClient) Remove

func (s *MockSFTPClient) Remove(path string) (err error)

Jump to

Keyboard shortcuts

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