template

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StepExecutionResult

type StepExecutionResult struct {
	OutputValues map[string]interface{}
	OutputString string
}

type TriggerEvent

type TriggerEvent struct {
	Name string
	Data interface{}
}

type WorkflowStep

type WorkflowStep struct {
	Name        string
	TemplateSrc string
	Template    *template.Template
	InputParams string
}

func NewWorkflowStep

func NewWorkflowStep(name string, templateSrc string) *WorkflowStep

func (*WorkflowStep) Execute

func (step *WorkflowStep) Execute(input map[string]interface{}) (string, error)

Jump to

Keyboard shortcuts

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