celrenderer

package
v0.0.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCelExpression

func IsCelExpression(s string) (bool, error)

func Lists

func Lists() cel.EnvOption

Types

type CelRenderer

type CelRenderer interface {
	render2.Renderer
	RenderString(ctx context.Context, expr string) (any, error)
}

func New

func New(varStore store.Storer[data.VarData], localVars map[string]any) CelRenderer

Jump to

Keyboard shortcuts

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