sdk

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 3 Imported by: 30

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