fixplan

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package fixplan runs once after the engine barrier: it builds the fix plan for each finding (rotate, purge and prevent steps). Populated in Epic 2.

Index

Constants

View Source
const Noop = "noop"

Noop is the name of the adapter that plans nothing.

Variables

This section is empty.

Functions

func Register

func Register(name string, f Factory)

Register adds a fixplan adapter. Adapters call it from init().

Types

type Factory

type Factory func(Options) (FixPlanner, error)

Factory builds a FixPlanner.

func Lookup

func Lookup(name string) (Factory, bool)

Lookup returns the fixplan adapter registered under name.

type FixPlanner

type FixPlanner interface {
	Plan(f *model.Finding)
}

FixPlanner is the fixplan stage interface. Plan sets only the Finding's FixPlan.

type Options

type Options struct{}

Options configures a fix planner. It is empty until fix plans exist (Epic 2).

Jump to

Keyboard shortcuts

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