Documentation ¶
Index ¶
- func Int(i int) string
- func Str(s string) string
- type CELParser
- func (p *CELParser) CheckStepRunOutAgainstKnown(out *StepRunOut, knownType dbsqlc.StepExpressionKind) error
- func (p *CELParser) ParseAndEvalStepRun(stepRunExpr string, in Input) (*StepRunOut, error)
- func (p *CELParser) ParseAndEvalWorkflowString(workflowExp string, in Input) (string, error)
- func (p *CELParser) ParseStepRun(stepRunExpr string) (cel.Program, error)
- func (p *CELParser) ParseWorkflowString(workflowExp string) (cel.Program, error)
- type Input
- type InputOpts
- type StepRunOut
- type StepRunOutType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CELParser ¶
type CELParser struct {
// contains filtered or unexported fields
}
func NewCELParser ¶
func NewCELParser() *CELParser
func (*CELParser) CheckStepRunOutAgainstKnown ¶ added in v0.47.0
func (p *CELParser) CheckStepRunOutAgainstKnown(out *StepRunOut, knownType dbsqlc.StepExpressionKind) error
func (*CELParser) ParseAndEvalStepRun ¶ added in v0.47.0
func (p *CELParser) ParseAndEvalStepRun(stepRunExpr string, in Input) (*StepRunOut, error)
func (*CELParser) ParseAndEvalWorkflowString ¶
func (*CELParser) ParseStepRun ¶ added in v0.47.0
type InputOpts ¶ added in v0.47.0
type InputOpts func(Input)
func WithAdditionalMetadata ¶
func WithParents ¶ added in v0.47.0
func WithWorkflowRunID ¶
type StepRunOut ¶ added in v0.47.0
type StepRunOut struct { String *string Int *int Type StepRunOutType }
type StepRunOutType ¶ added in v0.47.0
type StepRunOutType string
const ( StepRunOutTypeString StepRunOutType = "string" StepRunOutTypeInt StepRunOutType = "int" )
Click to show internal directories.
Click to hide internal directories.