Documentation ¶
Overview ¶
Package mock_oswrap is a generated GoMock package.
Package mock_oswrap is a generated GoMock package.
Index ¶
- type MockExecWrap
- type MockExecWrapMockRecorder
- type MockOsWrap
- func (m *MockOsWrap) Command(name string, arg ...string) *exec.Cmd
- func (m *MockOsWrap) Create(name string) (*os.File, error)
- func (m *MockOsWrap) EXPECT() *MockOsWrapMockRecorder
- func (m *MockOsWrap) Environ() []string
- func (m *MockOsWrap) Exec(argv0 string, argv, envv []string) error
- func (m *MockOsWrap) LookPath(name string) (string, error)
- func (m *MockOsWrap) ReadFile(filename string) ([]byte, error)
- func (m *MockOsWrap) Remove(name string) error
- func (m *MockOsWrap) Stat(name string) (os.FileInfo, error)
- func (m *MockOsWrap) WriteFile(filename string, data []byte, perm os.FileMode) error
- type MockOsWrapMockRecorder
- func (mr *MockOsWrapMockRecorder) Command(name interface{}, arg ...interface{}) *gomock.Call
- func (mr *MockOsWrapMockRecorder) Create(name interface{}) *gomock.Call
- func (mr *MockOsWrapMockRecorder) Environ() *gomock.Call
- func (mr *MockOsWrapMockRecorder) Exec(argv0, argv, envv interface{}) *gomock.Call
- func (mr *MockOsWrapMockRecorder) LookPath(name interface{}) *gomock.Call
- func (mr *MockOsWrapMockRecorder) ReadFile(filename interface{}) *gomock.Call
- func (mr *MockOsWrapMockRecorder) Remove(name interface{}) *gomock.Call
- func (mr *MockOsWrapMockRecorder) Stat(name interface{}) *gomock.Call
- func (mr *MockOsWrapMockRecorder) WriteFile(filename, data, perm interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecWrap ¶
type MockExecWrap struct {
// contains filtered or unexported fields
}
MockExecWrap is a mock of ExecWrap interface
func NewMockExecWrap ¶
func NewMockExecWrap(ctrl *gomock.Controller) *MockExecWrap
NewMockExecWrap creates a new mock instance
func (*MockExecWrap) EXPECT ¶
func (m *MockExecWrap) EXPECT() *MockExecWrapMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockExecWrap) RunCommandDirect ¶
func (m *MockExecWrap) RunCommandDirect(command []string) error
RunCommandDirect mocks base method
func (*MockExecWrap) RunCommandStdoutToFile ¶
func (m *MockExecWrap) RunCommandStdoutToFile(outfileName string, command []string) error
RunCommandStdoutToFile mocks base method
func (*MockExecWrap) RunSyscallExec ¶
func (m *MockExecWrap) RunSyscallExec(args []string) error
RunSyscallExec mocks base method
type MockExecWrapMockRecorder ¶
type MockExecWrapMockRecorder struct {
// contains filtered or unexported fields
}
MockExecWrapMockRecorder is the mock recorder for MockExecWrap
func (*MockExecWrapMockRecorder) RunCommandDirect ¶
func (mr *MockExecWrapMockRecorder) RunCommandDirect(command interface{}) *gomock.Call
RunCommandDirect indicates an expected call of RunCommandDirect
func (*MockExecWrapMockRecorder) RunCommandStdoutToFile ¶
func (mr *MockExecWrapMockRecorder) RunCommandStdoutToFile(outfileName, command interface{}) *gomock.Call
RunCommandStdoutToFile indicates an expected call of RunCommandStdoutToFile
func (*MockExecWrapMockRecorder) RunSyscallExec ¶
func (mr *MockExecWrapMockRecorder) RunSyscallExec(args interface{}) *gomock.Call
RunSyscallExec indicates an expected call of RunSyscallExec
type MockOsWrap ¶
type MockOsWrap struct {
// contains filtered or unexported fields
}
MockOsWrap is a mock of OsWrap interface
func NewMockOsWrap ¶
func NewMockOsWrap(ctrl *gomock.Controller) *MockOsWrap
NewMockOsWrap creates a new mock instance
func (*MockOsWrap) Command ¶
func (m *MockOsWrap) Command(name string, arg ...string) *exec.Cmd
Command mocks base method
func (*MockOsWrap) Create ¶
func (m *MockOsWrap) Create(name string) (*os.File, error)
Create mocks base method
func (*MockOsWrap) EXPECT ¶
func (m *MockOsWrap) EXPECT() *MockOsWrapMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOsWrap) Exec ¶
func (m *MockOsWrap) Exec(argv0 string, argv, envv []string) error
Exec mocks base method
func (*MockOsWrap) LookPath ¶
func (m *MockOsWrap) LookPath(name string) (string, error)
LookPath mocks base method
func (*MockOsWrap) ReadFile ¶
func (m *MockOsWrap) ReadFile(filename string) ([]byte, error)
ReadFile mocks base method
type MockOsWrapMockRecorder ¶
type MockOsWrapMockRecorder struct {
// contains filtered or unexported fields
}
MockOsWrapMockRecorder is the mock recorder for MockOsWrap
func (*MockOsWrapMockRecorder) Command ¶
func (mr *MockOsWrapMockRecorder) Command(name interface{}, arg ...interface{}) *gomock.Call
Command indicates an expected call of Command
func (*MockOsWrapMockRecorder) Create ¶
func (mr *MockOsWrapMockRecorder) Create(name interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockOsWrapMockRecorder) Environ ¶
func (mr *MockOsWrapMockRecorder) Environ() *gomock.Call
Environ indicates an expected call of Environ
func (*MockOsWrapMockRecorder) Exec ¶
func (mr *MockOsWrapMockRecorder) Exec(argv0, argv, envv interface{}) *gomock.Call
Exec indicates an expected call of Exec
func (*MockOsWrapMockRecorder) LookPath ¶
func (mr *MockOsWrapMockRecorder) LookPath(name interface{}) *gomock.Call
LookPath indicates an expected call of LookPath
func (*MockOsWrapMockRecorder) ReadFile ¶
func (mr *MockOsWrapMockRecorder) ReadFile(filename interface{}) *gomock.Call
ReadFile indicates an expected call of ReadFile
func (*MockOsWrapMockRecorder) Remove ¶
func (mr *MockOsWrapMockRecorder) Remove(name interface{}) *gomock.Call
Remove indicates an expected call of Remove
func (*MockOsWrapMockRecorder) Stat ¶
func (mr *MockOsWrapMockRecorder) Stat(name interface{}) *gomock.Call
Stat indicates an expected call of Stat
func (*MockOsWrapMockRecorder) WriteFile ¶
func (mr *MockOsWrapMockRecorder) WriteFile(filename, data, perm interface{}) *gomock.Call
WriteFile indicates an expected call of WriteFile