Documentation
¶
Overview ¶
Package policy compiles and evaluates the Rego policies that make each hook's decision.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUndefined = errors.New("policy result is undefined")
ErrUndefined is returned when the policy defines no result for an input.
Functions ¶
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine is a compiled policy query. It is safe for concurrent use.
Click to show internal directories.
Click to hide internal directories.