Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct { Data map[string]interface{} // contains filtered or unexported fields }
Context makes it easy to execute CEL expressions on JSON body.
func (*Context) EvaluateToParamValue ¶
func (c *Context) EvaluateToParamValue(expr string) (*pipelinev1beta1.ArrayOrString, error)
EvaluateToParamValue evaluates the provided expression, and converts it to a pipeline ArrayOrString value for a PipelineRun parameter.
Click to show internal directories.
Click to hide internal directories.