Versions in this module Expand all Collapse all v0 v0.6.0 Jan 12, 2020 Changes in this version + type Evaluator struct + func New(moduleName string, query string, opts ...Option) (eval *Evaluator, err error) + func (e *Evaluator) Evaluate(ctx context.Context, inputs interface{}) (pass bool, err error) + type Option func(*Options) error + func File(f string) Option + func Function(fs ...func(*rego.Rego)) Option + func Logger(log *logrus.Entry) Option + func Policy(p []byte) Option + func Trace() Option + type Options struct