steps

package
v0.0.0-...-ed71bf1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EchoStep

type EchoStep struct {
	// contains filtered or unexported fields
}

EchoStep is a simple step that returns a message

func NewEchoStep

func NewEchoStep(config models.StepConfig) *EchoStep

NewEchoStep creates a new echo step

func (*EchoStep) Execute

func (s *EchoStep) Execute(context map[string]interface{}) (*models.StepResult, error)

Execute returns the message from the config

type RestStep

type RestStep struct {
	// contains filtered or unexported fields
}

RestStep executes HTTP requests

func NewRestStep

func NewRestStep(config models.StepConfig) *RestStep

NewRestStep creates a new REST step

func (*RestStep) Execute

func (s *RestStep) Execute(context map[string]interface{}) (*models.StepResult, error)

Execute performs the HTTP request

type TransformStep

type TransformStep struct {
	// contains filtered or unexported fields
}

TransformStep handles data transformation using templates and JSON path mapping

func NewTransformStep

func NewTransformStep(config models.StepConfig) *TransformStep

NewTransformStep creates a new transform step

func (*TransformStep) Execute

func (s *TransformStep) Execute(context map[string]interface{}) (*models.StepResult, error)

Execute processes the transformation

Jump to

Keyboard shortcuts

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