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) CheckStepRunOutAgainstKnownV1(out *StepRunOut, knownType sqlcv1.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 ¶
func (p *CELParser) CheckStepRunOutAgainstKnown(out *StepRunOut, knownType dbsqlc.StepExpressionKind) error
func (*CELParser) CheckStepRunOutAgainstKnownV1 ¶
func (p *CELParser) CheckStepRunOutAgainstKnownV1(out *StepRunOut, knownType sqlcv1.StepExpressionKind) error
func (*CELParser) ParseAndEvalStepRun ¶
func (p *CELParser) ParseAndEvalStepRun(stepRunExpr string, in Input) (*StepRunOut, error)
func (*CELParser) ParseAndEvalWorkflowString ¶
func (*CELParser) ParseStepRun ¶
type InputOpts ¶
type InputOpts func(Input)
func WithAdditionalMetadata ¶
func WithParents ¶
func WithWorkflowRunID ¶
type StepRunOut ¶
type StepRunOut struct {
String *string
Int *int
Type StepRunOutType
}
type StepRunOutType ¶
type StepRunOutType string
const ( StepRunOutTypeString StepRunOutType = "string" StepRunOutTypeInt StepRunOutType = "int" )
Click to show internal directories.
Click to hide internal directories.