cel

package
v0.46.3 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CELParser

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

func NewCELParser

func NewCELParser() *CELParser

func (*CELParser) ParseAndEvalWorkflowString

func (p *CELParser) ParseAndEvalWorkflowString(workflowExp string, in WorkflowStringInput) (string, error)

func (*CELParser) ParseWorkflowString

func (p *CELParser) ParseWorkflowString(workflowExp string) (cel.Program, error)

type WorkflowStringInput

type WorkflowStringInput map[string]interface{}

func NewWorkflowStringInput

func NewWorkflowStringInput(opts ...WorkflowStringInputOpts) WorkflowStringInput

type WorkflowStringInputOpts

type WorkflowStringInputOpts func(WorkflowStringInput)

func WithAdditionalMetadata

func WithAdditionalMetadata(metadata map[string]interface{}) WorkflowStringInputOpts

func WithInput

func WithInput(input map[string]interface{}) WorkflowStringInputOpts

func WithWorkflowRunID

func WithWorkflowRunID(workflowRunID string) WorkflowStringInputOpts

Jump to

Keyboard shortcuts

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