Documentation ¶
Overview ¶
Package planner contains a query planner for Rego queries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Planner ¶
type Planner struct {
// contains filtered or unexported fields
}
Planner implements a query planner for Rego queries.
func (*Planner) WithBuiltinDecls ¶ added in v0.15.1
WithBuiltinDecls tells the planner what built-in function may be available inside the execution environment.
func (*Planner) WithModules ¶ added in v0.11.0
WithModules sets the module set that contains query dependencies.
func (*Planner) WithQueries ¶
WithQueries sets the query sets to generate a plan for. The rewritten collection provides a mapping of rewritten query vars for each query set. The planner uses rewritten variables but the result set key will be the original variable name.
Click to show internal directories.
Click to hide internal directories.