Documentation ¶
Index ¶
- func OptionWithDataDirs(paths ...string) func(s *Scanner)
- func OptionWithDebug(debugWriter io.Writer) func(s *Scanner)
- func OptionWithPolicyDirs(paths ...string) func(s *Scanner)
- func OptionWithPolicyNamespaces(namespaces ...string) func(s *Scanner)
- func OptionWithPolicyReaders(readers ...io.Reader) func(s *Scanner)
- type Option
- type Scanner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OptionWithDataDirs ¶
func OptionWithDebug ¶
OptionWithDebug - pass the scanner an io.Writer to log debug messages to
func OptionWithPolicyDirs ¶
func OptionWithPolicyNamespaces ¶
OptionWithPolicyNamespaces - namespaces which indicate rego policies containing enforced rules
func OptionWithPolicyReaders ¶ added in v0.30.0
Types ¶
Click to show internal directories.
Click to hide internal directories.