Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockCmd
- func (m *MockCmd) CombinedOutput() ([]byte, error)
- func (m *MockCmd) Credential(arg0 *syscall.Credential)
- func (m *MockCmd) EXPECT() *MockCmdMockRecorder
- func (m *MockCmd) Output() ([]byte, error)
- func (m *MockCmd) Run() error
- func (m *MockCmd) Start() error
- func (m *MockCmd) StderrPipe() (io.ReadCloser, error)
- func (m *MockCmd) StdinPipe() (io.WriteCloser, error)
- func (m *MockCmd) StdoutPipe() (io.ReadCloser, error)
- func (m *MockCmd) Wait() error
- type MockCmdMockRecorder
- func (mr *MockCmdMockRecorder) CombinedOutput() *gomock.Call
- func (mr *MockCmdMockRecorder) Credential(arg0 interface{}) *gomock.Call
- func (mr *MockCmdMockRecorder) Output() *gomock.Call
- func (mr *MockCmdMockRecorder) Run() *gomock.Call
- func (mr *MockCmdMockRecorder) Start() *gomock.Call
- func (mr *MockCmdMockRecorder) StderrPipe() *gomock.Call
- func (mr *MockCmdMockRecorder) StdinPipe() *gomock.Call
- func (mr *MockCmdMockRecorder) StdoutPipe() *gomock.Call
- func (mr *MockCmdMockRecorder) Wait() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCmd ¶
type MockCmd struct {
// contains filtered or unexported fields
}
MockCmd is a mock of Cmd interface
func NewMockCmd ¶
func NewMockCmd(ctrl *gomock.Controller) *MockCmd
NewMockCmd creates a new mock instance
func (*MockCmd) CombinedOutput ¶
CombinedOutput mocks base method
func (*MockCmd) Credential ¶
func (m *MockCmd) Credential(arg0 *syscall.Credential)
Credential mocks base method
func (*MockCmd) EXPECT ¶
func (m *MockCmd) EXPECT() *MockCmdMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCmd) StderrPipe ¶
func (m *MockCmd) StderrPipe() (io.ReadCloser, error)
StderrPipe mocks base method
func (*MockCmd) StdinPipe ¶
func (m *MockCmd) StdinPipe() (io.WriteCloser, error)
StdinPipe mocks base method
func (*MockCmd) StdoutPipe ¶
func (m *MockCmd) StdoutPipe() (io.ReadCloser, error)
StdoutPipe mocks base method
type MockCmdMockRecorder ¶
type MockCmdMockRecorder struct {
// contains filtered or unexported fields
}
MockCmdMockRecorder is the mock recorder for MockCmd
func (*MockCmdMockRecorder) CombinedOutput ¶
func (mr *MockCmdMockRecorder) CombinedOutput() *gomock.Call
CombinedOutput indicates an expected call of CombinedOutput
func (*MockCmdMockRecorder) Credential ¶
func (mr *MockCmdMockRecorder) Credential(arg0 interface{}) *gomock.Call
Credential indicates an expected call of Credential
func (*MockCmdMockRecorder) Output ¶
func (mr *MockCmdMockRecorder) Output() *gomock.Call
Output indicates an expected call of Output
func (*MockCmdMockRecorder) Run ¶
func (mr *MockCmdMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run
func (*MockCmdMockRecorder) Start ¶
func (mr *MockCmdMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockCmdMockRecorder) StderrPipe ¶
func (mr *MockCmdMockRecorder) StderrPipe() *gomock.Call
StderrPipe indicates an expected call of StderrPipe
func (*MockCmdMockRecorder) StdinPipe ¶
func (mr *MockCmdMockRecorder) StdinPipe() *gomock.Call
StdinPipe indicates an expected call of StdinPipe
func (*MockCmdMockRecorder) StdoutPipe ¶
func (mr *MockCmdMockRecorder) StdoutPipe() *gomock.Call
StdoutPipe indicates an expected call of StdoutPipe
func (*MockCmdMockRecorder) Wait ¶
func (mr *MockCmdMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait