builtin

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: Apache-2.0 Imports: 23 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultBuiltinProcessors = map[string]ProcessorPluginConstructor{
	"avro.decode":         constructor(avro.NewDecodeProcessor),
	"avro.encode":         constructor(avro.NewEncodeProcessor),
	"base64.decode":       constructor(base64.NewDecodeProcessor),
	"base64.encode":       constructor(base64.NewEncodeProcessor),
	"cohere.command":      constructor(cohere.NewCommandProcessor),
	"cohere.embed":        constructor(cohere.NewEmbedProcessor),
	"cohere.rerank":       constructor(cohere.NewRerankProcessor),
	"custom.javascript":   constructor(custom.NewJavascriptProcessor),
	"error":               constructor(impl.NewErrorProcessor),
	"filter":              constructor(impl.NewFilterProcessor),
	"field.convert":       constructor(field.NewConvertProcessor),
	"field.exclude":       constructor(field.NewExcludeProcessor),
	"field.rename":        constructor(field.NewRenameProcessor),
	"field.set":           constructor(field.NewSetProcessor),
	"json.decode":         constructor(json.NewDecodeProcessor),
	"json.encode":         constructor(json.NewEncodeProcessor),
	"openai.embed":        constructor(openai.NewEmbeddingsProcessor),
	"openai.textgen":      constructor(openai.NewTextgenProcessor),
	"unwrap.debezium":     constructor(unwrap.NewDebeziumProcessor),
	"unwrap.kafkaconnect": constructor(unwrap.NewKafkaConnectProcessor),
	"unwrap.opencdc":      constructor(unwrap.NewOpenCDCProcessor),
	"webhook.http":        constructor(webhook.NewHTTPProcessor),
}

Functions

This section is empty.

Types

type ProcessorPluginConstructor

type ProcessorPluginConstructor func(log.CtxLogger) sdk.Processor

type Registry

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

func NewRegistry

func NewRegistry(
	logger log.CtxLogger,
	constructors map[string]ProcessorPluginConstructor,
	schemaRegistry schemaregistry.Registry,
) *Registry

func (*Registry) List

func (r *Registry) List() map[plugin.FullName]sdk.Specification

func (*Registry) NewProcessor

func (r *Registry) NewProcessor(_ context.Context, fullName plugin.FullName, id string) (sdk.Processor, error)

Directories

Path Synopsis
avro
Package avro is a generated GoMock package.
Package avro is a generated GoMock package.
diff
Package diff computes differences between text files or strings.
Package diff computes differences between text files or strings.
diff/difftest
Package difftest supplies a set of tests that will operate on any implementation of a diff algorithm as exposed by "github.com/conduitio/conduit/pkg/plugin/processor/builtin/internal/diff"
Package difftest supplies a set of tests that will operate on any implementation of a diff algorithm as exposed by "github.com/conduitio/conduit/pkg/plugin/processor/builtin/internal/diff"
diff/lcs
package lcs contains code to find longest-common-subsequences (and diffs)
package lcs contains code to find longest-common-subsequences (and diffs)

Jump to

Keyboard shortcuts

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