package compiler

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

Index

Functions

func VerifyAuthorizationPolicySchema

func VerifyAuthorizationPolicySchema(compiler *ast.Compiler, ref ast.Ref) error

VerifyAuthorizationPolicySchema performs type checking on rules against the schema for the Authorization Policy Input document. NOTE: The provided compiler should have already run the compilation process on the input modules

Types

type SchemaFile

type SchemaFile string
const (
	AuthorizationPolicySchema SchemaFile = "authorizationPolicy.json"
)

Source Files

utils.go

Directories

PathSynopsis
internal/compiler/wasmPackage wasm contains an IR->WASM compiler backend.
internal/compiler/wasm/opaPackage opa contains bytecode for the OPA-WASM library.
Version
v1.4.2 (latest)
Published
May 2, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
6 hours ago

Tools for package owners.