Documentation ¶
Index ¶
- func NewDefaultCommand() *cobra.Command
- func NewFormatCommand(ctx context.Context) *cobra.Command
- func NewParseCommand(ctx context.Context) *cobra.Command
- func NewPluginCommand(ctx context.Context) *cobra.Command
- func NewPluginInstallCommand(ctx context.Context) *cobra.Command
- func NewPullCommand(ctx context.Context) *cobra.Command
- func NewPushCommand(ctx context.Context, logger *log.Logger) *cobra.Command
- func NewTestCommand(ctx context.Context) *cobra.Command
- func NewVerifyCommand(ctx context.Context) *cobra.Command
- type TestRun
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultCommand ¶
NewDefaultCommand creates the default command
func NewFormatCommand ¶ added in v0.24.0
NewFormatCommand creates a format command. This command can be used for formatting Rego files.
func NewParseCommand ¶
NewParseCommand creates a parse command. This command can be used for printing structured inputs from unstructured configuration inputs.
func NewPluginCommand ¶
NewPluginCommand creates a new plugin command
func NewPluginInstallCommand ¶
NewPluginInstallCommand creates the install plugin subcommand
func NewPullCommand ¶
NewPullCommand creates a new pull command to allow users to download individual policies.
func NewPushCommand ¶
NewPushCommand creates a new push command which allows users to push bundles to an OCI registry.
func NewTestCommand ¶
NewTestCommand creates a new test command.
Types ¶
Click to show internal directories.
Click to hide internal directories.