Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { FilePath string PackageName string ImportPackages []string Contents string RuleNames []string Comments []string }
File is a parsed Rego file.
func GetFiles ¶ added in v0.5.0
GetFiles gets all Rego files in the given path and its subdirectories.
func GetFilesWithRule ¶ added in v0.5.0
GetFilesWithRule gets all Rego files in the given path and its subdirectories that contain the specified rule.
Click to show internal directories.
Click to hide internal directories.