Documentation ¶
Index ¶
- func BuildReport(resultPtr *rego.ResultSet, validationConfig c.ValidationConfiguration, ...) (string, error)
- func CloseEventChan(eventChan *chan e.Event)
- func CompileRego(regoUnit *generator.RegoUnit, eventChan *chan e.Event) (*rego.PreparedEvalQuery, error)
- func DialectInstance(report *types.ObjectMap, context *types.ObjectMap) []types.ObjectMap
- func Encode(data any) string
- func GenerateRego(profileText string, debug bool, eventChan *chan e.Event) (*generator.RegoUnit, error)
- func Index(json any) any
- func Normalize(json any) any
- func ProcessInput(jsonldText string, debug bool, receiver *chan e.Event) (any, error)
- func ProcessProfile(profileText string, debug bool, eventChan *chan e.Event) (*rego.PreparedEvalQuery, error)
- func Validate(profileText string, jsonldText string, debug bool, eventChan *chan e.Event) (string, error)
- func ValidateCompiled(compiledRegoPtr *rego.PreparedEvalQuery, jsonldText string, debug bool, ...) (string, error)
- func ValidateCompiledWithConfiguration(compiledRegoPtr *rego.PreparedEvalQuery, jsonldText string, debug bool, ...) (string, error)
- func ValidateWithConfiguration(profileText string, jsonldText string, debug bool, eventChan *chan e.Event, ...) (string, error)
- func ValidationReportNode(profileName string, results []any, conforms bool, ...) types.ObjectMap
- type LocationIndex
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildReport ¶
func BuildReport(resultPtr *rego.ResultSet, validationConfig c.ValidationConfiguration, reportConfig c.ReportConfiguration) (string, error)
func CloseEventChan ¶
func CompileRego ¶
func DialectInstance ¶
func GenerateRego ¶
func ProcessInput ¶
func ProcessProfile ¶
func ValidateCompiled ¶
func ValidateCompiledWithConfiguration ¶ added in v1.5.0
func ValidateCompiledWithConfiguration(compiledRegoPtr *rego.PreparedEvalQuery, jsonldText string, debug bool, eventChan *chan e.Event, validationConfig c.ValidationConfiguration, reportConfig c.ReportConfiguration) (string, error)
func ValidateWithConfiguration ¶ added in v1.5.0
func ValidationReportNode ¶
func ValidationReportNode(profileName string, results []any, conforms bool, validationConfig c.ValidationConfiguration, reportConfig c.ReportConfiguration) types.ObjectMap
Types ¶
type LocationIndex ¶
func (*LocationIndex) Location ¶
func (locIndex *LocationIndex) Location(id string) string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.