testutil

package
v4.34.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BufferFromYAML

func BufferFromYAML(confStr string, args ...any) (buffer.Config, error)

BufferFromYAML attempts to parse a config string and returns a buffer config if successful or an error otherwise.

func CacheFromYAML

func CacheFromYAML(confStr string, args ...any) (cache.Config, error)

CacheFromYAML attempts to parse a config string and returns a cache config if successful or an error otherwise.

func ConfigFromYAML

func ConfigFromYAML(confStr string, args ...any) (config.Type, error)

ConfigFromYAML attempts to parse a config string and returns a Benthos service config if successful or an error otherwise.

func InputFromYAML

func InputFromYAML(confStr string, args ...any) (input.Config, error)

InputFromYAML attempts to parse a config string and returns an input config if successful or an error otherwise.

func ManagerFromYAML

func ManagerFromYAML(confStr string, args ...any) (manager.ResourceConfig, error)

ManagerFromYAML attempts to parse a config string and returns a manager config if successful or an error otherwise.

func MetricsFromYAML

func MetricsFromYAML(confStr string, args ...any) (metrics.Config, error)

MetricsFromYAML attempts to parse a config string and returns a metrics config if successful or an error otherwise.

func OutputFromYAML

func OutputFromYAML(confStr string, args ...any) (output.Config, error)

OutputFromYAML attempts to parse a config string and returns an output config if successful or an error otherwise.

func ProcessorFromYAML

func ProcessorFromYAML(confStr string, args ...any) (processor.Config, error)

ProcessorFromYAML attempts to parse a config string and returns a processor config if successful or an error otherwise.

func RateLimitFromYAML

func RateLimitFromYAML(confStr string, args ...any) (ratelimit.Config, error)

RateLimitFromYAML attempts to parse a config string and returns a ratelimit config if successful or an error otherwise.

func StreamFromYAML

func StreamFromYAML(confStr string, args ...any) (stream.Config, error)

StreamFromYAML attempts to parse a config string and returns a stream config if successful or an error otherwise.

func TracerFromYAML

func TracerFromYAML(confStr string, args ...any) (tracer.Config, error)

TracerFromYAML attempts to parse a config string and returns a tracer config if successful or an error otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

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