Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidConfig is the error returned if the OPA initialization fails due to an invalid config. ErrInvalidConfig = errors.New("invalid config") // ErrInvalidPolicyOrData is the error returned if either policy or data is invalid. ErrInvalidPolicyOrData = errors.New("invalid policy or data") // ErrInvalidBundle is the error returned if the bundle loaded is corrupted. ErrInvalidBundle = errors.New("invalid bundle") // ErrNotReady is the error returned if the OPA instance is not initialized. ErrNotReady = errors.New("not ready") // ErrUndefined is the error returned if the evaluation result is undefined. ErrUndefined = errors.New("undefined decision") // ErrNonBoolean is the error returned if the evaluation result is not of boolean value. ErrNonBoolean = errors.New("non-boolean decision") // ErrInternal is the error returned if the evaluation fails due to an internal error. ErrInternal = errors.New("internal error") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.