package
2.15.1+incompatible
Repository: https://github.com/jeffail/benthos.git
Documentation: pkg.go.dev

# Functions

GetInferenceCandidates checks a generic config structure (YAML or JSON) and, if an explicit type value is not found, returns a list of candidate types by walking the root objects field names.
MarshalYAML marshals a structure into YAML with consistent formatting across all Benthos components.

# Type aliases

SanitForYAML a map to be embedded within a parent object for YAML marshalling.
Sanitised is a general map[string]interface{} type that tries to marshal into both YAML and JSON in a way that ensure the 'type' field is always first.