Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
func NewManager ¶
func NewManager(dir string, rootConfig *config.RootConfig) *Manager
func (*Manager) ApplyFixes ¶ added in v0.1.84
func (m *Manager) ApplyFixes()
ApplyFixes is the single entry point for the --fix flag. It runs every fix attached to a collected finding. Findings whose fix succeeds are marked Fixed and subsequently dropped by GetErrors; findings whose fix fails are kept, and PrintResult reports the failure via the finding's FixError.
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 (*Manager) PrintResult ¶ added in v0.1.0
func (m *Manager) PrintResult()
Click to show internal directories.
Click to hide internal directories.