evaluator

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EvaluationResult

type EvaluationResult struct {
	Allowed bool
	Found   bool
	Target  *entity.TargetServer
}

type RegoEvaluator added in v0.3.0

type RegoEvaluator struct {
	// contains filtered or unexported fields
}

func NewRegoEvaluator

func NewRegoEvaluator(config *entity.Config, mac string, rulesFS hackpadfs.FS) *RegoEvaluator

func (*RegoEvaluator) EvaluateExpressions added in v0.3.0

func (r *RegoEvaluator) EvaluateExpressions() (EvaluationResult, error)

Jump to

Keyboard shortcuts

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