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
v0.64.0
Published
Apr 25, 2024
Platform
js/wasm
Imports
3 packages
Last checked
8 minutes ago

Tools for package owners.