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
// SkipUnsupportedRuntime makes the evaluator factory soft-fail (skip) tenets
// whose policy declares a runtime engine version or plugins that this binary
// does not provide, instead of failing them. This lets a policy set combine
// policies that rely on newer engine features with older engines that skip
// them rather than reporting a hard failure. The default (false) preserves
// the failing behavior.
SkipUnsupportedRuntime bool
}
EvaluatorOptions are assembled by the verifier and passed deep to the evaluator when executing the policy tenets.
Click to show internal directories.
Click to hide internal directories.