cel

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidExpression = fmt.Errorf("expression is invalid,format is: $json_path.(type)")

Functions

This section is empty.

Types

type Expression

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

func Parse

func Parse(expression string) (*Expression, error)

func (*Expression) Eval

func (e *Expression) Eval(event ce.Event) (bool, error)

type Variable

type Variable struct {
	Name string
	Path string
	Type string
}

Jump to

Keyboard shortcuts

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