package
1.2.0
Repository: https://github.com/open-policy-agent/opa.git
Documentation: pkg.go.dev

# Packages

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.
Package identifier provides handlers for associating identity information with incoming requests.
Package types contains request/response types and codes for the server.
Package writer contains utilities for writing responses in the server.

# Functions

New returns a new Server.

# Constants

Set of supported authentication schemes.
Set of supported authentication schemes.
Set of supported authentication schemes.
Set of supported authorization schemes.
Set of supported authorization schemes.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.
Set of handlers for use in the "handler" dimension of the duration metric.

# Type aliases

AuthenticationScheme enumerates the supported authentication schemes.
AuthorizationScheme enumerates the supported authorization schemes.
BundleInfo contains information describing a bundle.
Info contains information describing a policy decision.
Loop will contain all the calls from the server that we'll be listening on.
Metrics defines the interface that the server requires for recording HTTP handler metrics.
Server represents an instance of OPA running in server mode.
TLSConfig represents the TLS configuration for the server.