info

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package params provides utilities to create runtime context information for OPA instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (*ast.Term, error)

func NewWithOptions

func NewWithOptions(opts Options) (*ast.Term, error)

NewWithOptions returns the runtime context information as an ast.Term object.

Types

type Options

type Options struct {
	Config                 []byte
	IsAuthorizationEnabled bool
	SkipKnownSchemaCheck   bool
}

Options controls the types of runtime context information to return.

Jump to

Keyboard shortcuts

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