manager

package
v0.1.81 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Linter

type Linter interface {
	Run(m *module.Module)
	Name() string
}

type Manager

type Manager struct {
	Modules []*module.Module
	// contains filtered or unexported fields
}

func NewManager

func NewManager(dir string, rootConfig *config.RootConfig) *Manager

func (*Manager) GetErrors added in v0.1.77

func (m *Manager) GetErrors() []pkg.LinterError

GetErrors returns all findings collected during the run. It is primarily intended for tests (e.g. the e2e framework) that need to assert on the structured findings produced by the linters.

func (*Manager) HasCriticalErrors added in v0.1.0

func (m *Manager) HasCriticalErrors() bool

func (*Manager) PrintResult added in v0.1.0

func (m *Manager) PrintResult()

func (*Manager) Run

func (m *Manager) Run()

Jump to

Keyboard shortcuts

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