commands

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCommand

func NewCreateCommand() *cobra.Command

NewCreateCommand creates a new create command

func NewDefaultCommand

func NewDefaultCommand() *cobra.Command

NewDefaultCommand creates a new default command

func NewDocCommand added in v0.2.0

func NewDocCommand() *cobra.Command

NewDocCommand creates a new doc command

Types

type PolicyCommentBlock added in v0.2.0

type PolicyCommentBlock struct {
	APIGroups   []string
	Kinds       []string
	Description string
}

PolicyCommentBlock represent a comment block in a rego file

Jump to

Keyboard shortcuts

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