Documentation ¶
Overview ¶
Package mock_analyst is a generated GoMock package.
Package mock_analyst is a generated GoMock package.
Index ¶
- type MockAnalyzer
- func (m *MockAnalyzer) CompletedWorkItems() <-chan *contracts.CompletedResearchItem
- func (m *MockAnalyzer) Done() <-chan struct{}
- func (m *MockAnalyzer) EXPECT() *MockAnalyzerMockRecorder
- func (m *MockAnalyzer) Errors() <-chan error
- func (m *MockAnalyzer) Run(arg0 context.Context, arg1 *contracts.PendingResearchItem)
- type MockAnalyzerMockRecorder
- type MockCommand
- func (m *MockCommand) EXPECT() *MockCommandMockRecorder
- func (m *MockCommand) Start() error
- func (m *MockCommand) StderrPipe() (analyst.ReadCloser, error)
- func (m *MockCommand) StdinPipe() (analyst.WriteCloser, error)
- func (m *MockCommand) StdoutPipe() (analyst.ReadCloser, error)
- func (m *MockCommand) Wait() error
- type MockCommandBuilder
- type MockCommandBuilderMockRecorder
- type MockCommandMockRecorder
- type MockReadCloser
- type MockReadCloserMockRecorder
- type MockWriteCloser
- type MockWriteCloserMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAnalyzer ¶
type MockAnalyzer struct {
// contains filtered or unexported fields
}
MockAnalyzer is a mock of Analyzer interface
func NewMockAnalyzer ¶
func NewMockAnalyzer(ctrl *gomock.Controller) *MockAnalyzer
NewMockAnalyzer creates a new mock instance
func (*MockAnalyzer) CompletedWorkItems ¶
func (m *MockAnalyzer) CompletedWorkItems() <-chan *contracts.CompletedResearchItem
CompletedWorkItems mocks base method
func (*MockAnalyzer) EXPECT ¶
func (m *MockAnalyzer) EXPECT() *MockAnalyzerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAnalyzer) Run ¶
func (m *MockAnalyzer) Run(arg0 context.Context, arg1 *contracts.PendingResearchItem)
Run mocks base method
type MockAnalyzerMockRecorder ¶
type MockAnalyzerMockRecorder struct {
// contains filtered or unexported fields
}
MockAnalyzerMockRecorder is the mock recorder for MockAnalyzer
func (*MockAnalyzerMockRecorder) CompletedWorkItems ¶
func (mr *MockAnalyzerMockRecorder) CompletedWorkItems() *gomock.Call
CompletedWorkItems indicates an expected call of CompletedWorkItems
func (*MockAnalyzerMockRecorder) Done ¶
func (mr *MockAnalyzerMockRecorder) Done() *gomock.Call
Done indicates an expected call of Done
func (*MockAnalyzerMockRecorder) Errors ¶
func (mr *MockAnalyzerMockRecorder) Errors() *gomock.Call
Errors indicates an expected call of Errors
func (*MockAnalyzerMockRecorder) Run ¶
func (mr *MockAnalyzerMockRecorder) Run(arg0, arg1 interface{}) *gomock.Call
Run indicates an expected call of Run
type MockCommand ¶
type MockCommand struct {
// contains filtered or unexported fields
}
MockCommand is a mock of Command interface
func NewMockCommand ¶
func NewMockCommand(ctrl *gomock.Controller) *MockCommand
NewMockCommand creates a new mock instance
func (*MockCommand) EXPECT ¶
func (m *MockCommand) EXPECT() *MockCommandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCommand) StderrPipe ¶
func (m *MockCommand) StderrPipe() (analyst.ReadCloser, error)
StderrPipe mocks base method
func (*MockCommand) StdinPipe ¶
func (m *MockCommand) StdinPipe() (analyst.WriteCloser, error)
StdinPipe mocks base method
func (*MockCommand) StdoutPipe ¶
func (m *MockCommand) StdoutPipe() (analyst.ReadCloser, error)
StdoutPipe mocks base method
type MockCommandBuilder ¶
type MockCommandBuilder struct {
// contains filtered or unexported fields
}
MockCommandBuilder is a mock of CommandBuilder interface
func NewMockCommandBuilder ¶
func NewMockCommandBuilder(ctrl *gomock.Controller) *MockCommandBuilder
NewMockCommandBuilder creates a new mock instance
func (*MockCommandBuilder) CommandContext ¶
func (m *MockCommandBuilder) CommandContext(arg0 context.Context, arg1 string, arg2 ...string) analyst.Command
CommandContext mocks base method
func (*MockCommandBuilder) EXPECT ¶
func (m *MockCommandBuilder) EXPECT() *MockCommandBuilderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockCommandBuilderMockRecorder ¶
type MockCommandBuilderMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandBuilderMockRecorder is the mock recorder for MockCommandBuilder
func (*MockCommandBuilderMockRecorder) CommandContext ¶
func (mr *MockCommandBuilderMockRecorder) CommandContext(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
CommandContext indicates an expected call of CommandContext
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand
func (*MockCommandMockRecorder) Start ¶
func (mr *MockCommandMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockCommandMockRecorder) StderrPipe ¶
func (mr *MockCommandMockRecorder) StderrPipe() *gomock.Call
StderrPipe indicates an expected call of StderrPipe
func (*MockCommandMockRecorder) StdinPipe ¶
func (mr *MockCommandMockRecorder) StdinPipe() *gomock.Call
StdinPipe indicates an expected call of StdinPipe
func (*MockCommandMockRecorder) StdoutPipe ¶
func (mr *MockCommandMockRecorder) StdoutPipe() *gomock.Call
StdoutPipe indicates an expected call of StdoutPipe
func (*MockCommandMockRecorder) Wait ¶
func (mr *MockCommandMockRecorder) Wait() *gomock.Call
Wait indicates an expected call of Wait
type MockReadCloser ¶
type MockReadCloser struct {
// contains filtered or unexported fields
}
MockReadCloser is a mock of ReadCloser interface
func NewMockReadCloser ¶
func NewMockReadCloser(ctrl *gomock.Controller) *MockReadCloser
NewMockReadCloser creates a new mock instance
func (*MockReadCloser) EXPECT ¶
func (m *MockReadCloser) EXPECT() *MockReadCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockReadCloserMockRecorder ¶
type MockReadCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockReadCloserMockRecorder is the mock recorder for MockReadCloser
func (*MockReadCloserMockRecorder) Close ¶
func (mr *MockReadCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockReadCloserMockRecorder) Read ¶
func (mr *MockReadCloserMockRecorder) Read(p interface{}) *gomock.Call
Read indicates an expected call of Read
type MockWriteCloser ¶
type MockWriteCloser struct {
// contains filtered or unexported fields
}
MockWriteCloser is a mock of WriteCloser interface
func NewMockWriteCloser ¶
func NewMockWriteCloser(ctrl *gomock.Controller) *MockWriteCloser
NewMockWriteCloser creates a new mock instance
func (*MockWriteCloser) EXPECT ¶
func (m *MockWriteCloser) EXPECT() *MockWriteCloserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockWriteCloserMockRecorder ¶
type MockWriteCloserMockRecorder struct {
// contains filtered or unexported fields
}
MockWriteCloserMockRecorder is the mock recorder for MockWriteCloser
func (*MockWriteCloserMockRecorder) Close ¶
func (mr *MockWriteCloserMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockWriteCloserMockRecorder) Write ¶
func (mr *MockWriteCloserMockRecorder) Write(p interface{}) *gomock.Call
Write indicates an expected call of Write