Documentation ¶
Overview ¶
Package mock_mllint is a generated GoMock package.
Index ¶
- type MockConfigurableLinterWithRunner
- func (m *MockConfigurableLinterWithRunner) Configure(conf *config.Config) error
- func (m *MockConfigurableLinterWithRunner) EXPECT() *MockConfigurableLinterWithRunnerMockRecorder
- func (m *MockConfigurableLinterWithRunner) LintProject(project api.Project) (api.Report, error)
- func (m *MockConfigurableLinterWithRunner) Name() string
- func (m *MockConfigurableLinterWithRunner) Rules() []*api.Rule
- func (m *MockConfigurableLinterWithRunner) SetRunner(runner mllint.Runner)
- type MockConfigurableLinterWithRunnerMockRecorder
- func (mr *MockConfigurableLinterWithRunnerMockRecorder) Configure(conf interface{}) *gomock.Call
- func (mr *MockConfigurableLinterWithRunnerMockRecorder) LintProject(project interface{}) *gomock.Call
- func (mr *MockConfigurableLinterWithRunnerMockRecorder) Name() *gomock.Call
- func (mr *MockConfigurableLinterWithRunnerMockRecorder) Rules() *gomock.Call
- func (mr *MockConfigurableLinterWithRunnerMockRecorder) SetRunner(runner interface{}) *gomock.Call
- type MockLinterWithRunner
- func (m *MockLinterWithRunner) EXPECT() *MockLinterWithRunnerMockRecorder
- func (m *MockLinterWithRunner) LintProject(project api.Project) (api.Report, error)
- func (m *MockLinterWithRunner) Name() string
- func (m *MockLinterWithRunner) Rules() []*api.Rule
- func (m *MockLinterWithRunner) SetRunner(runner mllint.Runner)
- type MockLinterWithRunnerMockRecorder
- func (mr *MockLinterWithRunnerMockRecorder) LintProject(project interface{}) *gomock.Call
- func (mr *MockLinterWithRunnerMockRecorder) Name() *gomock.Call
- func (mr *MockLinterWithRunnerMockRecorder) Rules() *gomock.Call
- func (mr *MockLinterWithRunnerMockRecorder) SetRunner(runner interface{}) *gomock.Call
- type MockRunner
- type MockRunnerMockRecorder
- type MockWithRunner
- type MockWithRunnerMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConfigurableLinterWithRunner ¶
type MockConfigurableLinterWithRunner struct {
// contains filtered or unexported fields
}
MockConfigurableLinterWithRunner is a mock of ConfigurableLinterWithRunner interface
func NewMockConfigurableLinterWithRunner ¶
func NewMockConfigurableLinterWithRunner(ctrl *gomock.Controller) *MockConfigurableLinterWithRunner
NewMockConfigurableLinterWithRunner creates a new mock instance
func (*MockConfigurableLinterWithRunner) Configure ¶
func (m *MockConfigurableLinterWithRunner) Configure(conf *config.Config) error
Configure mocks base method
func (*MockConfigurableLinterWithRunner) EXPECT ¶
func (m *MockConfigurableLinterWithRunner) EXPECT() *MockConfigurableLinterWithRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockConfigurableLinterWithRunner) LintProject ¶
LintProject mocks base method
func (*MockConfigurableLinterWithRunner) Name ¶
func (m *MockConfigurableLinterWithRunner) Name() string
Name mocks base method
func (*MockConfigurableLinterWithRunner) Rules ¶
func (m *MockConfigurableLinterWithRunner) Rules() []*api.Rule
Rules mocks base method
func (*MockConfigurableLinterWithRunner) SetRunner ¶
func (m *MockConfigurableLinterWithRunner) SetRunner(runner mllint.Runner)
SetRunner mocks base method
type MockConfigurableLinterWithRunnerMockRecorder ¶
type MockConfigurableLinterWithRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockConfigurableLinterWithRunnerMockRecorder is the mock recorder for MockConfigurableLinterWithRunner
func (*MockConfigurableLinterWithRunnerMockRecorder) Configure ¶
func (mr *MockConfigurableLinterWithRunnerMockRecorder) Configure(conf interface{}) *gomock.Call
Configure indicates an expected call of Configure
func (*MockConfigurableLinterWithRunnerMockRecorder) LintProject ¶
func (mr *MockConfigurableLinterWithRunnerMockRecorder) LintProject(project interface{}) *gomock.Call
LintProject indicates an expected call of LintProject
func (*MockConfigurableLinterWithRunnerMockRecorder) Name ¶
func (mr *MockConfigurableLinterWithRunnerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockConfigurableLinterWithRunnerMockRecorder) Rules ¶
func (mr *MockConfigurableLinterWithRunnerMockRecorder) Rules() *gomock.Call
Rules indicates an expected call of Rules
func (*MockConfigurableLinterWithRunnerMockRecorder) SetRunner ¶
func (mr *MockConfigurableLinterWithRunnerMockRecorder) SetRunner(runner interface{}) *gomock.Call
SetRunner indicates an expected call of SetRunner
type MockLinterWithRunner ¶
type MockLinterWithRunner struct {
// contains filtered or unexported fields
}
MockLinterWithRunner is a mock of LinterWithRunner interface
func NewMockLinterWithRunner ¶
func NewMockLinterWithRunner(ctrl *gomock.Controller) *MockLinterWithRunner
NewMockLinterWithRunner creates a new mock instance
func (*MockLinterWithRunner) EXPECT ¶
func (m *MockLinterWithRunner) EXPECT() *MockLinterWithRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLinterWithRunner) LintProject ¶
LintProject mocks base method
func (*MockLinterWithRunner) Name ¶
func (m *MockLinterWithRunner) Name() string
Name mocks base method
func (*MockLinterWithRunner) Rules ¶
func (m *MockLinterWithRunner) Rules() []*api.Rule
Rules mocks base method
func (*MockLinterWithRunner) SetRunner ¶
func (m *MockLinterWithRunner) SetRunner(runner mllint.Runner)
SetRunner mocks base method
type MockLinterWithRunnerMockRecorder ¶
type MockLinterWithRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockLinterWithRunnerMockRecorder is the mock recorder for MockLinterWithRunner
func (*MockLinterWithRunnerMockRecorder) LintProject ¶
func (mr *MockLinterWithRunnerMockRecorder) LintProject(project interface{}) *gomock.Call
LintProject indicates an expected call of LintProject
func (*MockLinterWithRunnerMockRecorder) Name ¶
func (mr *MockLinterWithRunnerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockLinterWithRunnerMockRecorder) Rules ¶
func (mr *MockLinterWithRunnerMockRecorder) Rules() *gomock.Call
Rules indicates an expected call of Rules
func (*MockLinterWithRunnerMockRecorder) SetRunner ¶
func (mr *MockLinterWithRunnerMockRecorder) SetRunner(runner interface{}) *gomock.Call
SetRunner indicates an expected call of SetRunner
type MockRunner ¶
type MockRunner struct {
// contains filtered or unexported fields
}
MockRunner is a mock of Runner interface
func NewMockRunner ¶
func NewMockRunner(ctrl *gomock.Controller) *MockRunner
NewMockRunner creates a new mock instance
func (*MockRunner) CollectTasks ¶
func (m *MockRunner) CollectTasks(tasks ...*mllint.RunnerTask) chan *mllint.RunnerTask
CollectTasks mocks base method
func (*MockRunner) EXPECT ¶
func (m *MockRunner) EXPECT() *MockRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRunner) RunLinter ¶
func (m *MockRunner) RunLinter(id string, linter api.Linter, project api.Project, options ...mllint.TaskOption) *mllint.RunnerTask
RunLinter mocks base method
type MockRunnerMockRecorder ¶
type MockRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockRunnerMockRecorder is the mock recorder for MockRunner
func (*MockRunnerMockRecorder) CollectTasks ¶
func (mr *MockRunnerMockRecorder) CollectTasks(tasks ...interface{}) *gomock.Call
CollectTasks indicates an expected call of CollectTasks
func (*MockRunnerMockRecorder) RunLinter ¶
func (mr *MockRunnerMockRecorder) RunLinter(id, linter, project interface{}, options ...interface{}) *gomock.Call
RunLinter indicates an expected call of RunLinter
type MockWithRunner ¶
type MockWithRunner struct {
// contains filtered or unexported fields
}
MockWithRunner is a mock of WithRunner interface
func NewMockWithRunner ¶
func NewMockWithRunner(ctrl *gomock.Controller) *MockWithRunner
NewMockWithRunner creates a new mock instance
func (*MockWithRunner) EXPECT ¶
func (m *MockWithRunner) EXPECT() *MockWithRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockWithRunner) SetRunner ¶
func (m *MockWithRunner) SetRunner(runner mllint.Runner)
SetRunner mocks base method
type MockWithRunnerMockRecorder ¶
type MockWithRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockWithRunnerMockRecorder is the mock recorder for MockWithRunner
func (*MockWithRunnerMockRecorder) SetRunner ¶
func (mr *MockWithRunnerMockRecorder) SetRunner(runner interface{}) *gomock.Call
SetRunner indicates an expected call of SetRunner