jq

package
v0.0.68 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package jq provides the jq profile evaluator

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Evaluator

type Evaluator struct {
	// contains filtered or unexported fields
}

Evaluator is an Evaluator that uses the jq library to evaluate rules

func NewJQEvaluator

func NewJQEvaluator(
	assertions []*pb.RuleType_Definition_Eval_JQComparison,
	opts ...eoptions.Option,
) (*Evaluator, error)

NewJQEvaluator creates a new JQ rule data evaluator

func (*Evaluator) Eval

Eval calls the jq library to evaluate the rule

Jump to

Keyboard shortcuts

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