mocks

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockFS added in v0.3.1

type MockFS struct {
	// contains filtered or unexported fields
}

MockFS is a mock of FS interface.

func NewMockFS added in v0.3.1

func NewMockFS(ctrl *gomock.Controller) *MockFS

NewMockFS creates a new mock instance.

func (*MockFS) CheckExistsOrWrite added in v0.3.1

func (m *MockFS) CheckExistsOrWrite(filename string, data []byte) (bool, error)

CheckExistsOrWrite mocks base method.

func (*MockFS) Chroot added in v0.3.1

func (m *MockFS) Chroot(path string) (billy.Filesystem, error)

Chroot mocks base method.

func (*MockFS) Create added in v0.3.1

func (m *MockFS) Create(filename string) (billy.File, error)

Create mocks base method.

func (*MockFS) EXPECT added in v0.3.1

func (m *MockFS) EXPECT() *MockFSMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockFS) Exists added in v0.3.1

func (m *MockFS) Exists(path string) (bool, error)

Exists mocks base method.

func (*MockFS) ExistsOrDie added in v0.3.1

func (m *MockFS) ExistsOrDie(path string) bool

ExistsOrDie mocks base method.

func (*MockFS) Join added in v0.3.1

func (m *MockFS) Join(elem ...string) string

Join mocks base method.

func (*MockFS) Lstat added in v0.3.1

func (m *MockFS) Lstat(filename string) (os.FileInfo, error)

Lstat mocks base method.

func (*MockFS) MkdirAll added in v0.3.1

func (m *MockFS) MkdirAll(filename string, perm os.FileMode) error

MkdirAll mocks base method.

func (*MockFS) Open added in v0.3.1

func (m *MockFS) Open(filename string) (billy.File, error)

Open mocks base method.

func (*MockFS) OpenFile added in v0.3.1

func (m *MockFS) OpenFile(filename string, flag int, perm os.FileMode) (billy.File, error)

OpenFile mocks base method.

func (*MockFS) ReadDir added in v0.3.1

func (m *MockFS) ReadDir(path string) ([]os.FileInfo, error)

ReadDir mocks base method.

func (*MockFS) ReadFile added in v0.3.1

func (m *MockFS) ReadFile(filename string) ([]byte, error)

ReadFile mocks base method.

func (*MockFS) ReadJson added in v0.3.1

func (m *MockFS) ReadJson(filename string, o interface{}) error

ReadJson mocks base method.

func (*MockFS) ReadYamls added in v0.3.1

func (m *MockFS) ReadYamls(filename string, o ...interface{}) error

ReadYamls mocks base method.

func (m *MockFS) Readlink(link string) (string, error)

Readlink mocks base method.

func (*MockFS) Remove added in v0.3.1

func (m *MockFS) Remove(filename string) error

Remove mocks base method.

func (*MockFS) Rename added in v0.3.1

func (m *MockFS) Rename(oldpath, newpath string) error

Rename mocks base method.

func (*MockFS) Root added in v0.3.1

func (m *MockFS) Root() string

Root mocks base method.

func (*MockFS) Stat added in v0.3.1

func (m *MockFS) Stat(filename string) (os.FileInfo, error)

Stat mocks base method.

func (m *MockFS) Symlink(target, link string) error

Symlink mocks base method.

func (*MockFS) TempFile added in v0.3.1

func (m *MockFS) TempFile(dir, prefix string) (billy.File, error)

TempFile mocks base method.

func (*MockFS) WriteJson added in v0.3.1

func (m *MockFS) WriteJson(filename string, o interface{}) error

WriteJson mocks base method.

func (*MockFS) WriteYamls added in v0.3.1

func (m *MockFS) WriteYamls(filename string, o ...interface{}) error

WriteYamls mocks base method.

type MockFSMockRecorder added in v0.3.1

type MockFSMockRecorder struct {
	// contains filtered or unexported fields
}

MockFSMockRecorder is the mock recorder for MockFS.

func (*MockFSMockRecorder) CheckExistsOrWrite added in v0.3.1

func (mr *MockFSMockRecorder) CheckExistsOrWrite(filename, data interface{}) *gomock.Call

CheckExistsOrWrite indicates an expected call of CheckExistsOrWrite.

func (*MockFSMockRecorder) Chroot added in v0.3.1

func (mr *MockFSMockRecorder) Chroot(path interface{}) *gomock.Call

Chroot indicates an expected call of Chroot.

func (*MockFSMockRecorder) Create added in v0.3.1

func (mr *MockFSMockRecorder) Create(filename interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockFSMockRecorder) Exists added in v0.3.1

func (mr *MockFSMockRecorder) Exists(path interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockFSMockRecorder) ExistsOrDie added in v0.3.1

func (mr *MockFSMockRecorder) ExistsOrDie(path interface{}) *gomock.Call

ExistsOrDie indicates an expected call of ExistsOrDie.

func (*MockFSMockRecorder) Join added in v0.3.1

func (mr *MockFSMockRecorder) Join(elem ...interface{}) *gomock.Call

Join indicates an expected call of Join.

func (*MockFSMockRecorder) Lstat added in v0.3.1

func (mr *MockFSMockRecorder) Lstat(filename interface{}) *gomock.Call

Lstat indicates an expected call of Lstat.

func (*MockFSMockRecorder) MkdirAll added in v0.3.1

func (mr *MockFSMockRecorder) MkdirAll(filename, perm interface{}) *gomock.Call

MkdirAll indicates an expected call of MkdirAll.

func (*MockFSMockRecorder) Open added in v0.3.1

func (mr *MockFSMockRecorder) Open(filename interface{}) *gomock.Call

Open indicates an expected call of Open.

func (*MockFSMockRecorder) OpenFile added in v0.3.1

func (mr *MockFSMockRecorder) OpenFile(filename, flag, perm interface{}) *gomock.Call

OpenFile indicates an expected call of OpenFile.

func (*MockFSMockRecorder) ReadDir added in v0.3.1

func (mr *MockFSMockRecorder) ReadDir(path interface{}) *gomock.Call

ReadDir indicates an expected call of ReadDir.

func (*MockFSMockRecorder) ReadFile added in v0.3.1

func (mr *MockFSMockRecorder) ReadFile(filename interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

func (*MockFSMockRecorder) ReadJson added in v0.3.1

func (mr *MockFSMockRecorder) ReadJson(filename, o interface{}) *gomock.Call

ReadJson indicates an expected call of ReadJson.

func (*MockFSMockRecorder) ReadYamls added in v0.3.1

func (mr *MockFSMockRecorder) ReadYamls(filename interface{}, o ...interface{}) *gomock.Call

ReadYamls indicates an expected call of ReadYamls.

func (mr *MockFSMockRecorder) Readlink(link interface{}) *gomock.Call

Readlink indicates an expected call of Readlink.

func (*MockFSMockRecorder) Remove added in v0.3.1

func (mr *MockFSMockRecorder) Remove(filename interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockFSMockRecorder) Rename added in v0.3.1

func (mr *MockFSMockRecorder) Rename(oldpath, newpath interface{}) *gomock.Call

Rename indicates an expected call of Rename.

func (*MockFSMockRecorder) Root added in v0.3.1

func (mr *MockFSMockRecorder) Root() *gomock.Call

Root indicates an expected call of Root.

func (*MockFSMockRecorder) Stat added in v0.3.1

func (mr *MockFSMockRecorder) Stat(filename interface{}) *gomock.Call

Stat indicates an expected call of Stat.

func (mr *MockFSMockRecorder) Symlink(target, link interface{}) *gomock.Call

Symlink indicates an expected call of Symlink.

func (*MockFSMockRecorder) TempFile added in v0.3.1

func (mr *MockFSMockRecorder) TempFile(dir, prefix interface{}) *gomock.Call

TempFile indicates an expected call of TempFile.

func (*MockFSMockRecorder) WriteJson added in v0.3.1

func (mr *MockFSMockRecorder) WriteJson(filename, o interface{}) *gomock.Call

WriteJson indicates an expected call of WriteJson.

func (*MockFSMockRecorder) WriteYamls added in v0.3.1

func (mr *MockFSMockRecorder) WriteYamls(filename interface{}, o ...interface{}) *gomock.Call

WriteYamls indicates an expected call of WriteYamls.

Jump to

Keyboard shortcuts

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