preprocessor

package
v0.5.32 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PreparePreprocessor

type PreparePreprocessor struct {
	Mapping map[string]string
	// contains filtered or unexported fields
}

func (*PreparePreprocessor) InitIterator

func (p *PreparePreprocessor) InitIterator(iterator mp.Iterator)

func (*PreparePreprocessor) Process

func (p *PreparePreprocessor) Process(_ *scenario.Call, templateVars map[string]any) (map[string]any, error)

type Preprocessor

type Preprocessor interface {
	Process(call *scenario.Call, templateVars map[string]any) (newVars map[string]any, err error)
}

type PreprocessorConfig

type PreprocessorConfig struct {
	Mapping map[string]string
}

Jump to

Keyboard shortcuts

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