opa

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunRego

func RunRego(input interface{}, regoModules []checkmodels.RegoCustomModule, checksMetadata *checkmodels.CheckMetadataMap) ([]*checkmodels.CheckRunResult, error)

Types

type RegoResult

type RegoResult struct {
	Status  checkmodels.ResultStatus `json:"status,omitempty"`
	IDs     []string                 `json:"ids,omitempty"`
	Details string                   `json:"details,omitempty"`
}

Jump to

Keyboard shortcuts

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