# Functions

NewMockAuthorizer creates a new mock instance.

# Constants

DefaultAcctEntitlementsApiPath is default OPA path to fetch acct entitlements.
DefaultCurrentUserCompartmentsPath is default OPA path to fetch current user's compartments.
DefaultValidatePath is default OPA path to perform authz validation.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DecisionInput is app/service-specific data supplied by app/service ABAC requests.
DefaultDecisionInputer is an example DecisionInputHandler that is used as default.
MockAuthorizer is a mock of Authorizer interface.
MockAuthorizerMockRecorder is the mock recorder for MockAuthorizer.

# Interfaces

Authorizer interface is implemented for making arbitrary requests to Opa.
fullMethod is of the form "Service.FullMethod".

# Type aliases

ABACKey is a context.Context key type.
AcctEntitlementsType is a convenience data type, returned by GetAcctEntitlements() (map of acct_id to map of service to array of features).
No description provided by the author
No description provided by the author
OpaEvaluator implements calling OPA with a request and receiving the raw response.