Documentation ¶
Index ¶
- Constants
- type OPAService
- func (opa *OPAService) AddOrUpdatePolicy(namespace string, name string, outputParameters map[string]interface{}, ...) error
- func (opa OPAService) EvaluatePolicy(policy string, input interface{}) (rego.ResultSet, error)
- func (opa OPAService) GetPolicyKeys() []string
- func (opa *OPAService) RemovePolicy(namespace string, name string)
Constants ¶
View Source
const SERVICE_NAME string = "OPA"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OPAService ¶
type OPAService struct {
// contains filtered or unexported fields
}
func (*OPAService) AddOrUpdatePolicy ¶
func (OPAService) EvaluatePolicy ¶
func (opa OPAService) EvaluatePolicy(policy string, input interface{}) (rego.ResultSet, error)
func (OPAService) GetPolicyKeys ¶
func (opa OPAService) GetPolicyKeys() []string
func (*OPAService) RemovePolicy ¶
func (opa *OPAService) RemovePolicy(namespace string, name string)
Click to show internal directories.
Click to hide internal directories.