ruleset

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(
	ctx context.Context,
	r ruleset.Ruleset,
	rules map[string]rule.Rule,
	numWorkers int,
	log Logger,
) (ruleset.RulesetResult, error)

Run is a sample implementation for a ruleset.Ruleset.

Types

type Logger

type Logger interface {
	Info(string, ...any)
	Error(string, ...any)
}

Logger is a minimalistic logger interface.

Directories

Path Synopsis
disak8sstig

Jump to

Keyboard shortcuts

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