Documentation ¶
Index ¶
- type Processor
- func NewGoPluginV1Processor(ctx context.Context, pluginData string, vars map[string]string) (Processor, error)
- func NewJQProcessor(ctx context.Context, jqExpression string, metadata map[string]string, ...) (Processor, error)
- func NewYQProcessor(ctx context.Context, yqExpression string) (Processor, error)
- type ProcessorFunc
- type ProcessorPluginV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Processor ¶
type Processor interface {
Process(ctx context.Context, inputData string) (result string, err error)
}
Processor knows how to process inputData and return a result.
func NewGoPluginV1Processor ¶ added in v0.3.0
func NewJQProcessor ¶
type ProcessorFunc ¶
ProcessorFunc its a helper type to create Processors with a single function.
Click to show internal directories.
Click to hide internal directories.