expression

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandJobInputs

func ExpandJobInputs(jobInputs []JobInput, expr string) (*structpb.Value, error)

ExpandJobInputs is used by the Runner to expand job inputs when steps isn't involved Instead of sending the entire `expr` argument to `expression.ExpandString`, individual expressions are extracted from the `expr` string and sent one at a time. This allows us to constrain features to make it easy to replace the Steps expression language implementation. For example, we're restricting `ExpandJobInputs` to disallow expressions within expressions.

Types

type JobInput

type JobInput struct {
	Key   string
	Value *structpb.Value
}

Jump to

Keyboard shortcuts

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