WithEnablePrint enables print/log statements in policies
(enable bool)
| 82 | |
| 83 | // WithEnablePrint enables print/log statements in policies |
| 84 | func WithEnablePrint(enable bool) Option { |
| 85 | return func(opts *Options) { |
| 86 | opts.EnablePrint = enable |
| 87 | } |
| 88 | } |
| 89 | |
| 90 | // WithOperatingMode sets the Rego engine operating mode (restrictive or permissive) |
| 91 | func WithOperatingMode(mode int32) Option { |
no outgoing calls