mocks

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Code generated by mockery v1.0.0

Package mocks is generated by mockery v1.0.0

Package mocks generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileInfo

type FileInfo struct {
	mock.Mock
}

FileInfo is an autogenerated mock type for the FileInfo type

func (*FileInfo) IsDir

func (_m *FileInfo) IsDir() bool

IsDir provides a mock function with given fields:

func (*FileInfo) ModTime

func (_m *FileInfo) ModTime() time.Time

ModTime provides a mock function with given fields:

func (*FileInfo) Mode

func (_m *FileInfo) Mode() os.FileMode

Mode provides a mock function with given fields:

func (*FileInfo) Name

func (_m *FileInfo) Name() string

Name provides a mock function with given fields:

func (*FileInfo) Size

func (_m *FileInfo) Size() int64

Size provides a mock function with given fields:

func (*FileInfo) Sys

func (_m *FileInfo) Sys() interface{}

Sys provides a mock function with given fields:

type FileSystem

type FileSystem struct {
	mock.Mock
}

FileSystem is an autogenerated mock type for the FileSystem type

func (*FileSystem) Mkdir

func (_m *FileSystem) Mkdir(name string, perm os.FileMode) error

Mkdir provides a mock function with given fields: name, perm

func (*FileSystem) MkdirAll

func (_m *FileSystem) MkdirAll(path string, perm os.FileMode) error

MkdirAll provides a mock function with given fields: path, perm

func (*FileSystem) OpenFileForWrite

func (_m *FileSystem) OpenFileForWrite(name string, flag int, perm os.FileMode) (io.WriteCloser, error)

OpenFileForWrite provides a mock function with given fields: name, flag, perm

func (*FileSystem) ReadDir

func (_m *FileSystem) ReadDir(dirname string) ([]os.FileInfo, error)

ReadDir provides a mock function with given fields: dirname

func (*FileSystem) ReadFile

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

ReadFile provides a mock function with given fields: filename

func (*FileSystem) Remove

func (_m *FileSystem) Remove(path string) error

Remove provides a mock function with given fields: path

func (*FileSystem) RemoveAll

func (_m *FileSystem) RemoveAll(path string) error

RemoveAll provides a mock function with given fields: path

func (*FileSystem) Stat

func (_m *FileSystem) Stat(path string) (os.FileInfo, error)

Stat provides a mock function with given fields: path

type ReadCloser

type ReadCloser struct {
	mock.Mock
}

ReadCloser is an autogenerated mock type for the ReadCloser type

func (*ReadCloser) Close

func (_m *ReadCloser) Close() error

Close provides a mock function with given fields:

func (*ReadCloser) Read

func (_m *ReadCloser) Read(p []byte) (int, error)

Read provides a mock function with given fields: p

type WriteCloser

type WriteCloser struct {
	mock.Mock
}

WriteCloser is an autogenerated mock type for the WriteCloser type

func (*WriteCloser) Close

func (_m *WriteCloser) Close() error

Close provides a mock function with given fields:

func (*WriteCloser) Write

func (_m *WriteCloser) Write(p []byte) (int, error)

Write provides a mock function with given fields: p

Jump to

Keyboard shortcuts

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