Documentation
¶
Overview ¶
Package mockosproxy is a generated GoMock package.
Package mockosproxy is a generated GoMock package.
Index ¶
- type MockFileInstanceInterface
- func (m *MockFileInstanceInterface) Close() error
- func (m *MockFileInstanceInterface) EXPECT() *MockFileInstanceInterfaceMockRecorder
- func (m *MockFileInstanceInterface) Read(p []byte) (int, error)
- func (m *MockFileInstanceInterface) Seek(offset int64, whence int) (int64, error)
- func (m *MockFileInstanceInterface) Write(b []byte) (int, error)
- type MockFileInstanceInterfaceMockRecorder
- func (mr *MockFileInstanceInterfaceMockRecorder) Close() *gomock.Call
- func (mr *MockFileInstanceInterfaceMockRecorder) Read(p any) *gomock.Call
- func (mr *MockFileInstanceInterfaceMockRecorder) Seek(offset, whence any) *gomock.Call
- func (mr *MockFileInstanceInterfaceMockRecorder) Write(b any) *gomock.Call
- type MockOs
- func (m *MockOs) Create(name string) (osproxy.FileInstanceInterface, error)
- func (m *MockOs) EXPECT() *MockOsMockRecorder
- func (m *MockOs) FileMode(perm fsproxy.FileMode) fsproxy.FileMode
- func (m *MockOs) Getenv(key string) string
- func (m *MockOs) IsNotExist(err error) bool
- func (m *MockOs) MkdirAll(path string, perm fsproxy.FileMode) error
- func (m *MockOs) Open(name string) (*osproxy.FileInstance, error)
- func (m *MockOs) Pipe() (*osproxy.FileInstance, *osproxy.FileInstance, error)
- func (m *MockOs) Remove(name string) error
- func (m *MockOs) RemoveAll(path string) error
- func (m *MockOs) Stat(name string) (*fsproxy.FileInfoInstance, error)
- func (m *MockOs) TempDir() string
- type MockOsMockRecorder
- func (mr *MockOsMockRecorder) Create(name any) *gomock.Call
- func (mr *MockOsMockRecorder) FileMode(perm any) *gomock.Call
- func (mr *MockOsMockRecorder) Getenv(key any) *gomock.Call
- func (mr *MockOsMockRecorder) IsNotExist(err any) *gomock.Call
- func (mr *MockOsMockRecorder) MkdirAll(path, perm any) *gomock.Call
- func (mr *MockOsMockRecorder) Open(name any) *gomock.Call
- func (mr *MockOsMockRecorder) Pipe() *gomock.Call
- func (mr *MockOsMockRecorder) Remove(name any) *gomock.Call
- func (mr *MockOsMockRecorder) RemoveAll(path any) *gomock.Call
- func (mr *MockOsMockRecorder) Stat(name any) *gomock.Call
- func (mr *MockOsMockRecorder) TempDir() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFileInstanceInterface ¶
type MockFileInstanceInterface struct {
// contains filtered or unexported fields
}
MockFileInstanceInterface is a mock of FileInstanceInterface interface.
func NewMockFileInstanceInterface ¶
func NewMockFileInstanceInterface(ctrl *gomock.Controller) *MockFileInstanceInterface
NewMockFileInstanceInterface creates a new mock instance.
func (*MockFileInstanceInterface) Close ¶
func (m *MockFileInstanceInterface) Close() error
Close mocks base method.
func (*MockFileInstanceInterface) EXPECT ¶
func (m *MockFileInstanceInterface) EXPECT() *MockFileInstanceInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileInstanceInterface) Read ¶
func (m *MockFileInstanceInterface) Read(p []byte) (int, error)
Read mocks base method.
type MockFileInstanceInterfaceMockRecorder ¶
type MockFileInstanceInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockFileInstanceInterfaceMockRecorder is the mock recorder for MockFileInstanceInterface.
func (*MockFileInstanceInterfaceMockRecorder) Close ¶
func (mr *MockFileInstanceInterfaceMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockFileInstanceInterfaceMockRecorder) Read ¶
func (mr *MockFileInstanceInterfaceMockRecorder) Read(p any) *gomock.Call
Read indicates an expected call of Read.
type MockOs ¶
type MockOs struct {
// contains filtered or unexported fields
}
MockOs is a mock of Os interface.
func NewMockOs ¶
func NewMockOs(ctrl *gomock.Controller) *MockOs
NewMockOs creates a new mock instance.
func (*MockOs) Create ¶
func (m *MockOs) Create(name string) (osproxy.FileInstanceInterface, error)
Create mocks base method.
func (*MockOs) EXPECT ¶
func (m *MockOs) EXPECT() *MockOsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOs) IsNotExist ¶
IsNotExist mocks base method.
func (*MockOs) Open ¶
func (m *MockOs) Open(name string) (*osproxy.FileInstance, error)
Open mocks base method.
func (*MockOs) Pipe ¶
func (m *MockOs) Pipe() (*osproxy.FileInstance, *osproxy.FileInstance, error)
Pipe mocks base method.
type MockOsMockRecorder ¶
type MockOsMockRecorder struct {
// contains filtered or unexported fields
}
MockOsMockRecorder is the mock recorder for MockOs.
func (*MockOsMockRecorder) Create ¶
func (mr *MockOsMockRecorder) Create(name any) *gomock.Call
Create indicates an expected call of Create.
func (*MockOsMockRecorder) FileMode ¶
func (mr *MockOsMockRecorder) FileMode(perm any) *gomock.Call
FileMode indicates an expected call of FileMode.
func (*MockOsMockRecorder) Getenv ¶
func (mr *MockOsMockRecorder) Getenv(key any) *gomock.Call
Getenv indicates an expected call of Getenv.
func (*MockOsMockRecorder) IsNotExist ¶
func (mr *MockOsMockRecorder) IsNotExist(err any) *gomock.Call
IsNotExist indicates an expected call of IsNotExist.
func (*MockOsMockRecorder) MkdirAll ¶
func (mr *MockOsMockRecorder) MkdirAll(path, perm any) *gomock.Call
MkdirAll indicates an expected call of MkdirAll.
func (*MockOsMockRecorder) Open ¶
func (mr *MockOsMockRecorder) Open(name any) *gomock.Call
Open indicates an expected call of Open.
func (*MockOsMockRecorder) Pipe ¶
func (mr *MockOsMockRecorder) Pipe() *gomock.Call
Pipe indicates an expected call of Pipe.
func (*MockOsMockRecorder) Remove ¶
func (mr *MockOsMockRecorder) Remove(name any) *gomock.Call
Remove indicates an expected call of Remove.
func (*MockOsMockRecorder) RemoveAll ¶
func (mr *MockOsMockRecorder) RemoveAll(path any) *gomock.Call
RemoveAll indicates an expected call of RemoveAll.
func (*MockOsMockRecorder) Stat ¶
func (mr *MockOsMockRecorder) Stat(name any) *gomock.Call
Stat indicates an expected call of Stat.
func (*MockOsMockRecorder) TempDir ¶
func (mr *MockOsMockRecorder) TempDir() *gomock.Call
TempDir indicates an expected call of TempDir.