Documentation
¶
Overview ¶
Package policy embeds OPA directly in the proxy process - no network hop to a separate policy service, no per-call serialization round trip. This is the Fast Capability Plane's first latency bet: the policy bundle is compiled once at startup, and every subsequent evaluation runs in-memory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
func NewDefault ¶
NewDefault compiles the built-in permissive bundle - see defaultBundle for exactly what it does and does not enforce. Callers are expected to tell the operator they are running on it.
Click to show internal directories.
Click to hide internal directories.