Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockFS
- func (m *MockFS) CheckExistsOrWrite(filename string, data []byte) (bool, error)
- func (m *MockFS) Chroot(path string) (billy.Filesystem, error)
- func (m *MockFS) Create(filename string) (billy.File, error)
- func (m *MockFS) EXPECT() *MockFSMockRecorder
- func (m *MockFS) Exists(path string) (bool, error)
- func (m *MockFS) ExistsOrDie(path string) bool
- func (m *MockFS) Join(elem ...string) string
- func (m *MockFS) Lstat(filename string) (os.FileInfo, error)
- func (m *MockFS) MkdirAll(filename string, perm os.FileMode) error
- func (m *MockFS) Open(filename string) (billy.File, error)
- func (m *MockFS) OpenFile(filename string, flag int, perm os.FileMode) (billy.File, error)
- func (m *MockFS) ReadDir(path string) ([]os.FileInfo, error)
- func (m *MockFS) ReadFile(filename string) ([]byte, error)
- func (m *MockFS) ReadJson(filename string, o interface{}) error
- func (m *MockFS) ReadYamls(filename string, o ...interface{}) error
- func (m *MockFS) Readlink(link string) (string, error)
- func (m *MockFS) Remove(filename string) error
- func (m *MockFS) Rename(oldpath, newpath string) error
- func (m *MockFS) Root() string
- func (m *MockFS) Stat(filename string) (os.FileInfo, error)
- func (m *MockFS) Symlink(target, link string) error
- func (m *MockFS) TempFile(dir, prefix string) (billy.File, error)
- func (m *MockFS) WriteJson(filename string, o interface{}) error
- func (m *MockFS) WriteYamls(filename string, o ...interface{}) error
- type MockFSMockRecorder
- func (mr *MockFSMockRecorder) CheckExistsOrWrite(filename, data interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Chroot(path interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Create(filename interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Exists(path interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) ExistsOrDie(path interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Join(elem ...interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Lstat(filename interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) MkdirAll(filename, perm interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Open(filename interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) OpenFile(filename, flag, perm interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) ReadDir(path interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) ReadFile(filename interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) ReadJson(filename, o interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) ReadYamls(filename interface{}, o ...interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Readlink(link interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Remove(filename interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Rename(oldpath, newpath interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Root() *gomock.Call
- func (mr *MockFSMockRecorder) Stat(filename interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) Symlink(target, link interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) TempFile(dir, prefix interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) WriteJson(filename, o interface{}) *gomock.Call
- func (mr *MockFSMockRecorder) WriteYamls(filename interface{}, o ...interface{}) *gomock.Call
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
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) 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) ExistsOrDie ¶ added in v0.3.1
ExistsOrDie mocks base method.
func (*MockFS) WriteYamls ¶ added in v0.3.1
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 (*MockFSMockRecorder) Readlink ¶ added in v0.3.1
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 (*MockFSMockRecorder) Symlink ¶ added in v0.3.1
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.