directory

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanOPAFolder added in v1.0.0

func ScanOPAFolder(folder string) (map[string][]string, error)

ScanOPAFolder looks through a given folder and returns a map[string][]string keyed on the OPA policy name, and the value listing files providing rego and V1 yaml instances for that policy.

func ScanRulesFolder added in v1.0.0

func ScanRulesFolder(folder string) (map[string][]string, error)

ScanRulesFolder looks through a given folder and returns a map[string][]string keyed on the directory name, and the value listing files providing automation rules.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL