package
4.41.0
Repository: https://github.com/redpanda-data/benthos.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

FromAny returns a resource config from a parsed config, yaml node or any value.
FromParsed extracts a resource config from a parsed config.
New returns an instance of manager.Type, which can be shared amongst components and logical threads of a Benthos service.
NewResourceConfig creates a ResourceConfig with default values.
OptSetAPIReg sets the multiplexer used by components of this manager for registering their own HTTP endpoints.
OptSetBloblangEnvironment determines the environment from which the manager parses bloblang functions and methods.
OptSetEngineVersion sets the engine version reported to components.
OptSetEnvironment determines the environment from which the manager initializes components and resources.
OptSetFS determines which ifs.FS implementation to use for its filesystem.
OptSetLogger sets the logger from which the manager emits log events for components.
OptSetMetrics sets the metrics exporter from which the manager creates metrics for components.
OptSetStreamHTTPNamespacing determines whether HTTP endpoints registered from within a stream should be prefixed with the stream name.
OptSetStreamsMode marks the manager as being created for running streams mode resources.
OptSetTracer sets the tracer provider from which the manager creates tracing spans.
Spec returns a field spec for the manager configuration.
WrapInput wraps a streamed input and starts the transaction processing loop.

# Structs

InputWrapper is a wrapper for a streamed input.
ResourceConfig contains fields for specifying resource components at the root of a Benthos config.
Type is an implementation of types.Manager, which is expected by Benthos components that need to register service wide behaviours such as HTTP endpoints and event listeners, and obtain service wide shared resources such as caches and other resources.

# Interfaces

APIReg is an interface representing an API builder.

# Type aliases

ErrResourceNotFound represents an error where a named resource could not be accessed because it was not found by the manager.
OptFunc is an opt setting for a manager type.