opa

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package opa evaluates a Rego overlay. The builtin permission floor still runs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	Environment string
	Principal   string
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, file, bundle string, next policy.Hook) (*Engine, error)

func (*Engine) Check

func (e *Engine) Check(ctx context.Context, op *catalog.Operation) (policy.Decision, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL