Documentation ¶
Index ¶
Constants ¶
View Source
const ( // InvalidConfigErr is the error code returned if the OPA initialization fails due to an invalid config. InvalidConfigErr string = "invalid_config" // InvalidPolicyOrDataErr is the error code returned if either policy or data is invalid. InvalidPolicyOrDataErr string = "invalid_policy_or_data" // InvalidBundleErr is the error code returned if the bundle loaded is corrupted. InvalidBundleErr string = "invalid_bundle" // NotReadyErr is the error code returned if the OPA instance is not initialized. NotReadyErr string = "not_ready" // InternalErr is the error code returned if the evaluation fails due to an internal error. InternalErr string = "internal_error" // CancelledErr is the error code returned if the evaluation is cancelled. CancelledErr string = "cancelled" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.