options

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = EvaluatorOptions{
	LoadDefaultPlugins: true,
	ParallelWorkers:    4,
}

Functions

This section is empty.

Types

type EvaluatorOptions

type EvaluatorOptions struct {
	LoadDefaultPlugins bool
	ParallelWorkers    int8
}

EvaluatorOptions are assembled by the verifier and passed deep to the evaluator when executing the policy tenets.

type OptFunc

type OptFunc func(*EvaluatorOptions) error

func WithDefaultPlugins

func WithDefaultPlugins(sino bool) OptFunc

Jump to

Keyboard shortcuts

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