bcel

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

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

func NewEnv

func NewEnv(ctx context.Context) (*Env, error)

func (*Env) BaseInputs

func (t *Env) BaseInputs(rowMap map[string]any) map[string]any

func (*Env) BaseInputsWithResource

func (t *Env) BaseInputsWithResource(rowMap map[string]any, resource *v2.Resource) map[string]any

func (*Env) Evaluate

func (t *Env) Evaluate(ctx context.Context, expr string, inputs map[string]any) (any, error)

func (*Env) EvaluateBool

func (t *Env) EvaluateBool(ctx context.Context, expr string, inputs map[string]any) (bool, error)

func (*Env) EvaluateString

func (t *Env) EvaluateString(ctx context.Context, expr string, inputs map[string]any) (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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