package runtime

import "github.com/open-policy-agent/opa/internal/runtime"

Package runtime contains utilities to return runtime information on the OPA instance.

Index

Functions

func Term

func Term(params Params) (*ast.Term, error)

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

Types

type Params

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

Params controls the types of runtime information to return.

Source Files

runtime.go

Directories

PathSynopsis
internal/runtime/initPackage init is an internal package with helpers for data and policy loading during initialization.
Version
v1.4.2 (latest)
Published
May 2, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
6 hours ago

Tools for package owners.