commands

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultCommand

func NewDefaultCommand() *cobra.Command

NewDefaultCommand creates a new default command

Types

type Document added in v0.5.0

type Document struct {
	Header Header
	URL    string
	Rego   string
}

Document is a single policy document.

type Header struct {
	Title       string
	Description string
	Resources   string
	MatchLabels string
	Anchor      string
	Parameters  []rego.Parameter
}

Header is the header comment block found on a Rego policy.

Jump to

Keyboard shortcuts

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