condition

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OperatorOr  = "||"
	OperatorAnd = "&&"
)

Variables

This section is empty.

Functions

func FromStrings

func FromStrings(env *cel.Env, operator string, conditions ...string) (*cel.Ast, error)

func Merge

func Merge(env *cel.Env, operator string, conditions ...*cel.Ast) (*cel.Ast, error)

Types

type Condition

type Condition struct {
	Expression *cel.Ast
}

Jump to

Keyboard shortcuts

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