post

package
v0.43.1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeregisterPostScanner

func DeregisterPostScanner(name string)

func RegisterPostScanner

func RegisterPostScanner(s Scanner)

func Scan

func Scan(ctx context.Context, results types.Results) (types.Results, error)

func ScannerVersions

func ScannerVersions() map[string]int

Types

type Scanner

type Scanner interface {
	Name() string
	Version() int
	PostScan(ctx context.Context, results types.Results) (types.Results, error)
}

Jump to

Keyboard shortcuts

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