mocks

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FSClient

type FSClient struct {
	mock.Mock
}

FSClient is an autogenerated mock type for the FSClient type

func (*FSClient) DeleteFile

func (_m *FSClient) DeleteFile(filename string) error

DeleteFile provides a mock function with given fields: filename

func (*FSClient) ReadFile

func (_m *FSClient) ReadFile(filename string) ([]byte, error)

ReadFile provides a mock function with given fields: filename

func (*FSClient) Root

func (_m *FSClient) Root() string

Root provides a mock function with given fields:

func (*FSClient) Stat

func (_m *FSClient) Stat(filename string) (os.FileInfo, error)

Stat provides a mock function with given fields: filename

func (*FSClient) WriteFile

func (_m *FSClient) WriteFile(filename string, data []byte, perm os.FileMode) error

WriteFile provides a mock function with given fields: filename, data, perm

Jump to

Keyboard shortcuts

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