directory

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanFolder

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

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

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

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