jsonata

package
v2.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register()

Register registers the JSONata rule executor

Types

type Executor

type Executor struct {
	Config map[string]string
	// contains filtered or unexported fields
}

Executor is a JSONata rule executor

func (*Executor) Close

func (c *Executor) Close() error

Close closes the executor

func (*Executor) Configure

func (c *Executor) Configure(clientConfig *schemaregistry.Config, config map[string]string) error

Configure configures the executor

func (*Executor) Transform

func (c *Executor) Transform(ctx serde.RuleContext, msg interface{}) (interface{}, error)

Transform transforms the message using the rule

func (*Executor) Type

func (c *Executor) Type() string

Type returns the type of the executor

Jump to

Keyboard shortcuts

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