mock_mllint

package
v0.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 20, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_mllint is a generated GoMock package.

Index

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

Configure mocks base method

func (*MockConfigurableLinterWithRunner) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockConfigurableLinterWithRunner) LintProject

func (m *MockConfigurableLinterWithRunner) LintProject(project api.Project) (api.Report, error)

LintProject mocks base method

func (*MockConfigurableLinterWithRunner) Name

Name mocks base method

func (*MockConfigurableLinterWithRunner) Rules

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

Name indicates an expected call of Name

func (*MockConfigurableLinterWithRunnerMockRecorder) Rules

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockLinterWithRunner) LintProject

func (m *MockLinterWithRunner) LintProject(project api.Project) (api.Report, error)

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

Name indicates an expected call of Name

func (*MockLinterWithRunnerMockRecorder) Rules

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL