package
1.3.0
Repository: https://github.com/warpstreamlabs/bento.git
Documentation: pkg.go.dev

# Functions

LineAndColOf returns the line and column position of a tailing clip from an input.
NewExecutor initialises a new mapping executor from a map of query functions, and a list of assignments to be executed on each mapping.
NewJSONAssignment creates a new JSON assignment.
NewMetaAssignment creates a new meta assignment.
No description provided by the author
No description provided by the author
NewTargetPath constructs a new target path from a type and zero or more path segments.
NewVarAssignment creates a new variable assignment.

# Constants

TargetTypes.
TargetTypes.
TargetTypes.

# Structs

AssignmentContext contains references to all potential assignment destinations of a given mapping.
Executor is a parsed bloblang mapping that can be executed on a Bento message.
JSONAssignment creates a path within the structured message and assigns it a value.
MetaAssignment assigns a value to a metadata key of a message.
No description provided by the author
No description provided by the author
TargetPath represents a target type and segmented path that a query function references.
VarAssignment creates a variable and assigns it a value.

# Interfaces

Assignment represents a way of assigning a queried value to something within an assignment context.
Message is an interface type to be given to a query function, it allows the function to resolve fields and metadata from a message.
No description provided by the author

# Type aliases

TargetType represents a mapping target type, which is a destination for a query result to be mapped into a message.