expression

package
v0.6.20 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Expression

type Expression struct {
	Attribute any    `yaml:"attribute" mapstructure:"attribute"`
	Operator  string `yaml:"operator" mapstructure:"operator"`
	Value     any    `yaml:"value" mapstructure:"value"`
}

func (Expression) Evaluate

func (e Expression) Evaluate() (bool, error)

func (Expression) IsEmpty

func (e Expression) IsEmpty() bool

Jump to

Keyboard shortcuts

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