package
5.21.5+incompatible
Repository: https://github.com/sensu/sensu-go.git
Documentation: pkg.go.dev
# Functions
EvalPredicateWithVM is like Evaluate, but allows passing a vm explicitly.
Evaluate evaluates the javascript expression with parameters applied.
MatchEntities compiles the expressions supplied, and applies each one of them to each entity supplied.
NewSyntaxError creates a new SyntaxError.
ParseExpressions parses each JS expression and returns the first error that is encountered, or nil.
WithOttoVM provides a context manager for working with cached VMs.
# Structs
EntityFilterResult is returned by EvaluateEntityFilters.
# Interfaces
No description provided by the author
# Type aliases
SyntaxError is returned when a javascript expression could not be parsed.