Documentation ¶
Index ¶
- func BufferFromYAML(confStr string, args ...any) (buffer.Config, error)
- func CacheFromYAML(confStr string, args ...any) (cache.Config, error)
- func ConfigFromYAML(confStr string, args ...any) (config.Type, error)
- func InputFromYAML(confStr string, args ...any) (input.Config, error)
- func ManagerFromYAML(confStr string, args ...any) (manager.ResourceConfig, error)
- func MetricsFromYAML(confStr string, args ...any) (metrics.Config, error)
- func OutputFromYAML(confStr string, args ...any) (output.Config, error)
- func ProcessorFromYAML(confStr string, args ...any) (processor.Config, error)
- func RateLimitFromYAML(confStr string, args ...any) (ratelimit.Config, error)
- func StreamFromYAML(confStr string, args ...any) (stream.Config, error)
- func TracerFromYAML(confStr string, args ...any) (tracer.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BufferFromYAML ¶
BufferFromYAML attempts to parse a config string and returns a buffer config if successful or an error otherwise.
func CacheFromYAML ¶
CacheFromYAML attempts to parse a config string and returns a cache config if successful or an error otherwise.
func ConfigFromYAML ¶
ConfigFromYAML attempts to parse a config string and returns a Benthos service config if successful or an error otherwise.
func InputFromYAML ¶
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 ¶
MetricsFromYAML attempts to parse a config string and returns a metrics config if successful or an error otherwise.
func OutputFromYAML ¶
OutputFromYAML attempts to parse a config string and returns an output config if successful or an error otherwise.
func ProcessorFromYAML ¶
ProcessorFromYAML attempts to parse a config string and returns a processor config if successful or an error otherwise.
func RateLimitFromYAML ¶
RateLimitFromYAML attempts to parse a config string and returns a ratelimit config if successful or an error otherwise.
func StreamFromYAML ¶
StreamFromYAML attempts to parse a config string and returns a stream config if successful or an error otherwise.
Types ¶
This section is empty.