Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrPrepareForEvalCode = "meshkit-11144" ErrEvalCode = "meshkit-11145" )
Variables ¶
This section is empty.
Functions ¶
func ErrPrepareForEval ¶
Types ¶
type Rego ¶
type Rego struct {
// contains filtered or unexported fields
}
func NewRegoInstance ¶
func NewRegoInstance(policyDir string, regManager *registry.RegistryManager) (*Rego, error)
func (*Rego) RegoPolicyHandler ¶
func (r *Rego) RegoPolicyHandler(designFile pattern.PatternFile, regoQueryString string, relationshipsToEvalaute ...string) (pattern.EvaluationResponse, error)
RegoPolicyHandler takes the required inputs and run the query against all the policy files provided
Click to show internal directories.
Click to hide internal directories.