sdk

package
v1.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 3 Imported by: 28 modules, 31 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Deprecated: This package is intended for older projects transitioning from OPA v0.x and will remain for the lifetime of OPA v1.x, but its use is not recommended. For newer features and behaviours, such as defaulting to the Rego v1 syntax, use the corresponding components in the github.com/open-policy-agent/opa/v1 package instead. See https://www.openpolicyagent.org/docs/latest/v0-compatibility/ for more information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsUndefinedErr added in v0.29.0

func IsUndefinedErr(err error) bool

Types

type DecisionOptions added in v0.29.0

type DecisionOptions = v1.DecisionOptions

type DecisionResult added in v0.29.0

type DecisionResult = v1.DecisionResult

type Error

type Error = v1.Error

type OPA added in v0.29.0

type OPA = v1.OPA

func New added in v0.29.0

func New(ctx context.Context, opts Options) (*OPA, error)

type Options added in v0.29.0

type Options = v1.Options

type PartialOptions added in v0.39.0

type PartialOptions = v1.PartialOptions

type PartialQueryMapper added in v0.39.0

type PartialQueryMapper = v1.PartialQueryMapper

type PartialResult added in v0.39.0

type PartialResult = v1.PartialResult

type RawMapper added in v0.39.0

type RawMapper = v1.RawMapper

Directories

Path Synopsis
Deprecated: This package is intended for older projects transitioning from OPA v0.x and will remain for the lifetime of OPA v1.x, but its use is not recommended.
Deprecated: This package is intended for older projects transitioning from OPA v0.x and will remain for the lifetime of OPA v1.x, but its use is not recommended.

Jump to

Keyboard shortcuts

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