Skip to main content

Module rules

Module rules 

Source

Structs§

CompiledRoute
Compiler output for a single route.
DenyResponse
Custom response to attach when a route’s policy denies (e.g., equivalent to a Kuadrant AuthPolicy response.unauthorized denyWith). Carried on the route and surfaced on the deny outcome’s details map by the host (apl-cpex), so a host can render a custom HTTP response. All fields optional; an absent block leaves the host’s default denial response unchanged.
PhaseSet
Bit-packed set of phases a route declared.
Rule
One compiled rule: a predicate plus the effects to fire when it matches.

Enums§

CompareOp
Comparison operators in DSL predicates.
Condition
Leaf predicate.
Effect
One thing a matching rule does. Mirrors DSL spec §3 effect classes:
Expression
Compound predicate.
Literal
Right-hand side of a comparison.
Phase
One of the four lifecycle phases the evaluator runs per route.