Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/open-policy-agent/opa
/ types & classes
Types & classes
1,577 in github.com/open-policy-agent/opa
⨍
Functions
11,070
◇
Types & classes
1,577
↓ 584 callers
TypeAlias
Number
Number represents a numeric value as defined by JSON.
v1/ast/term.go:825
↓ 466 callers
TypeAlias
Var
Var represents a variable as defined by the language.
v1/ast/term.go:1148
↓ 318 callers
TypeAlias
String
String represents a string value as defined by JSON.
v1/ast/term.go:942
↓ 95 callers
Struct
cancel
v1/topdown/cancel.go:18
↓ 87 callers
TypeAlias
module
v1/ast/policy.go:413
↓ 32 callers
TypeAlias
Boolean
Boolean represents a boolean value defined by JSON.
v1/ast/term.go:763
↓ 18 callers
Interface
Timer
Timer defines the interface for a restartable timer that accumulates elapsed time.
v1/metrics/metrics.go:209
↓ 11 callers
TypeAlias
Ref
Ref represents a reference as defined by the language.
v1/ast/term.go:1215
↓ 10 callers
TypeAlias
deltaSeconds
deltaSeconds specifies a non-negative integer, representing time in seconds: http://tools.ietf.org/html/rfc7234#section-1.2.1
v1/topdown/http.go:1224
↓ 9 callers
TypeAlias
Bool
Bool represents a constant boolean.
v1/ir/ir.go:168
↓ 7 callers
TypeAlias
BadRequestErr
BadRequestErr represents an error condition raised if the caller passes invalid parameters.
v1/server/types/types.go:616
↓ 6 callers
TypeAlias
Args
Args represents zero or more arguments to a rule.
v1/ast/policy.go:259
↓ 6 callers
TypeAlias
RuleSet
RuleSet represents a collection of rules that produce a virtual document.
v1/ast/policy.go:2058
↓ 6 callers
TypeAlias
StringIndex
StringIndex represents the index into the plan's list of constant strings of a constant string.
v1/ir/ir.go:160
↓ 6 callers
TypeAlias
resultSet
v1/topdown/topdown_test.go:2331
↓ 5 callers
TypeAlias
Body
Body represents one or more expressions contained inside a rule or user function.
v1/ast/policy.go:263
↓ 5 callers
TypeAlias
Call
Call represents as function call in the language.
v1/ast/term.go:3045
↓ 4 callers
TypeAlias
ThreadID
v1/debug/thread.go:34
↓ 4 callers
TypeAlias
bodySet
v1/topdown/topdown_partial_test.go:6354
↓ 4 callers
TypeAlias
moduleSet
v1/topdown/topdown_partial_test.go:6410
↓ 4 callers
TypeAlias
requestContextKey
v1/logging/logging.go:224
↓ 3 callers
TypeAlias
Any
Any represents a dynamic type.
v1/types/types.go:550
↓ 3 callers
TypeAlias
Errors
Errors represents a series of errors encountered during parsing, compiling, etc.
v1/ast/errors.go:16
↓ 3 callers
TypeAlias
HashingAlgorithm
HashingAlgorithm represents a subset of hashing algorithms implemented in Go
v1/bundle/hash.go:22
↓ 3 callers
TypeAlias
Path
Path refers to a document in storage.
v1/storage/path.go:22
↓ 3 callers
Interface
QueryTracer
QueryTracer defines the interface for tracing in the top-down evaluation engine. The implementation can provide additional configuration to modify the
v1/topdown/trace.go:183
↓ 3 callers
TypeAlias
TraceV1
TraceV1 models the trace result returned for queries that include the "explain" parameter.
v1/server/types/types.go:340
↓ 3 callers
TypeAlias
maskOP
v1/plugins/logs/mask.go:18
↓ 3 callers
TypeAlias
typeSlice
v1/types/types.go:1224
↓ 2 callers
TypeAlias
ErrOperand
ErrOperand represents an invalid operand has been passed to a built-in function. Built-ins should return ErrOperand to indicate a type error has occur
v1/topdown/builtins/builtins.go:116
↓ 2 callers
TypeAlias
Opcode
Opcode represents a WASM instruction opcode.
internal/wasm/opcode/opcode.go:9
↓ 2 callers
TypeAlias
StageID
StageID uniquely identifies a compiler stage.
v1/ast/compile.go:176
↓ 2 callers
TypeAlias
TraceV1Raw
TraceV1Raw models the trace result returned for queries that include the "explain" parameter. The trace is modelled as series of trace events that ide
v1/server/types/types.go:356
↓ 2 callers
TypeAlias
alias
v1/server/types/types.go:255
↓ 2 callers
TypeAlias
cachingMode
v1/topdown/http.go:36
↓ 2 callers
TypeAlias
defined
internal/wasm/sdk/test/e2e/external_test.go:163
↓ 2 callers
TypeAlias
h
NOTE(sr): we do this to override the rendering of `head.Reference`. It's still what'll be used via the default means of encoding/json for unmarshaling
v1/ast/policy.go:959
↓ 2 callers
TypeAlias
lookupIPAddrCacheKey
v1/topdown/net.go:15
↓ 2 callers
TypeAlias
pathSet
v1/storage/disk/paths.go:66
↓ 2 callers
TypeAlias
pluginlistener
v1/plugins/discovery/discovery.go:758
↓ 2 callers
TypeAlias
requestContextKey
v1/util/decoding/context.go:5
↓ 2 callers
FuncType
run
func(context.Context, storage.Transaction, *ast.Module, *ast.Rule) (*Result, bool)
v1/tester/runner.go:467
↓ 2 callers
FuncType
supportTermsFn
supportTermsFn transforms the given terms to a support reference/call to the form required by the negated expression's ast.Expr.Terms field.
v1/topdown/eval.go:863
↓ 2 callers
Struct
trigger
v1/plugins/status/plugin.go:95
↓ 2 callers
TypeAlias
unrecognizedFile
v1/loader/errors.go:47
↓ 1 callers
Interface
Counter
Counter defines the interface for a monotonic increasing counter.
v1/metrics/metrics.go:307
↓ 1 callers
TypeAlias
FrameID
v1/debug/frame.go:14
↓ 1 callers
TypeAlias
Local
Local represents a plan-scoped variable. TODO(tsandall): should this be int32 for safety?
v1/ir/ir.go:94
↓ 1 callers
TypeAlias
TraceV1Pretty
TraceV1Pretty models the trace result returned for queries that include the "explain" parameter. The trace is modelled as a human readable array of st
v1/server/types/types.go:371
↓ 1 callers
TypeAlias
VarRef
v1/debug/variable.go:63
↓ 1 callers
TypeAlias
alias
v1/server/compile_handler.go:99
↓ 1 callers
FuncType
check
func(*testing.T, badger.Options)
v1/storage/disk/config_test.go:138
↓ 1 callers
TypeAlias
clientCertificatesKey
v1/server/identifier/certs.go:9
↓ 1 callers
TypeAlias
explainMode
v1/repl/repl.go:78
↓ 1 callers
TypeAlias
identityKey
v1/server/identifier/identifier.go:13
↓ 1 callers
TypeAlias
managerContextKey
v1/plugins/plugins.go:281
↓ 1 callers
TypeAlias
managerWasmResolverKey
v1/plugins/plugins.go:282
↓ 1 callers
TypeAlias
memokey
v1/rego/rego.go:877
↓ 1 callers
TypeAlias
mergeError
v1/loader/errors.go:58
↓ 1 callers
FuncType
osFileSystem
osFileSystem is a functional wrapper for os.Open that implements http.FileSystem.
internal/gojsonschema/jsonLoader.go:118
↓ 1 callers
TypeAlias
randIntCachingKey
v1/topdown/numbers.go:16
↓ 1 callers
Struct
stage
v1/ast/compile.go:412
↓ 1 callers
TypeAlias
stringSet
v1/bundle/bundle.go:317
↓ 1 callers
FuncType
unNegateFn
unNegateFn returns the "unwrapped" non-negated expressions (1..*) of a negated expressions
v1/topdown/eval.go:857
↓ 1 callers
Struct
undo
v1/topdown/bindings.go:15
↓ 1 callers
TypeAlias
unsupportedDocumentType
v1/loader/errors.go:41
↓ 1 callers
Struct
update
v1/storage/disk/txn.go:220
↓ 1 callers
TypeAlias
uuidCachingKey
v1/topdown/uuid.go:13
Struct
A
v1/storage/inmem/inmem_test.go:275
Struct
AccessToken
AccessToken holds a GCP access token.
v1/plugins/rest/gcp.go:24
Struct
ActivateOpts
ActivateOpts defines options for the Activate API call.
v1/bundle/store.go:354
Interface
Activator
Activator is the interface expected for implementations that activate bundles.
v1/bundle/store.go:349
Struct
AdditionalPropertyNotAllowedError
AdditionalPropertyNotAllowedError is produced if an object has additional properties, but not allowed ErrorDetails: property
internal/gojsonschema/errors.go:131
TypeAlias
AdhocQueryResultSetV1
AdhocQueryResultSetV1 models the result of a Query API query.
v1/server/types/types.go:324
Struct
AllowList
AllowList is a generic Rule for whitelisting
internal/providers/aws/v4/header_rules.go:38
Struct
AnnotationSet
v1/ast/annotations.go:69
Struct
Annotations
Annotations represents metadata attached to other AST nodes such as rules.
v1/ast/annotations.go:29
Struct
AnnotationsRef
v1/ast/annotations.go:81
TypeAlias
AnnotationsRefSet
v1/ast/annotations.go:89
Struct
ArgErrDetail
ArgErrDetail represents a generic argument error.
v1/ast/check.go:1052
Struct
ArityFormatErrDetail
ArityFormatErrDetail but for `fmt` checks since compiler has not run yet.
v1/format/format.go:2511
Struct
Array
Array represents the array type.
v1/types/types.go:197
Struct
Array
Array represents an array as defined by the language. Arrays are similar to the same types as defined by JSON with the exception that they can contain
v1/ast/term.go:1592
Struct
ArrayAppendStmt
ArrayAppendStmt represents a dynamic append operation of a value onto an array.
v1/ir/ir.go:394
Struct
ArrayComprehension
ArrayComprehension represents an array comprehension as defined in the language.
v1/ast/term.go:2847
Struct
ArrayContainsError
ArrayContainsError is produced if an array contains invalid items ErrorDetails:
internal/gojsonschema/errors.go:113
Struct
ArrayMaxItemsError
ArrayMaxItemsError is produced if an array contains more items than the allowed maximum ErrorDetails: max
internal/gojsonschema/errors.go:101
Struct
ArrayMaxPropertiesError
ArrayMaxPropertiesError is produced if an object contains more properties than the allowed maximum ErrorDetails: max
internal/gojsonschema/errors.go:125
Struct
ArrayMinItemsError
ArrayMinItemsError is produced if an array contains less items than the allowed minimum ErrorDetails: min
internal/gojsonschema/errors.go:95
Struct
ArrayMinPropertiesError
ArrayMinPropertiesError is produced if an object contains less properties than the allowed minimum ErrorDetails: min
internal/gojsonschema/errors.go:119
Struct
ArrayNoAdditionalItemsError
ArrayNoAdditionalItemsError is produced if additional items were found, but not allowed ErrorDetails: -
internal/gojsonschema/errors.go:89
Struct
AssignIntStmt
AssignIntStmt represents an assignment of an integer value to a local variable.
v1/ir/ir.go:263
Struct
AssignVarOnceStmt
AssignVarOnceStmt represents an assignment of one local variable to another. If the target is defined, execution aborts with a conflict error. TODO(t
v1/ir/ir.go:282
Struct
AssignVarStmt
AssignVarStmt represents an assignment of one local variable to another.
v1/ir/ir.go:271
Struct
Attributes
v1/test/e2e/oci/oci_test.go:83
FuncType
AuthPluginLookupFunc
An AuthPluginLookupFunc can lookup auth plugins by their name.
v1/plugins/rest/rest.go:85
TypeAlias
AuthenticationScheme
AuthenticationScheme enumerates the supported authentication schemes. The authentication scheme determines how client identities are established.
v1/server/server.go:63
Struct
AuthorAnnotation
v1/ast/annotations.go:59
TypeAlias
AuthorizationScheme
AuthorizationScheme enumerates the supported authorization schemes. The authorization scheme determines how access to OPA is controlled.
v1/server/server.go:74
Struct
B
v1/storage/inmem/inmem_test.go:271
next →
1–100 of 1,577, ranked by callers