opa

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Functions for inspecting rego code and annotations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InspectDir

func InspectDir(afs afero.Fs, dir string) ([]*ast.AnnotationsRef, error)

Finds all the rego files, inspects each one and returns a list the inspect data

func OutputText

func OutputText(out io.Writer, allData map[string][]*ast.AnnotationsRef, template string) error

Todo: - Group by package or collection - Filtering by package or collection maybe - More useful formats

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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