Versions in this module Expand all Collapse all v4 v4.14.1 Apr 26, 2023 Changes in this version + func ConfigSpec() docs.FieldSpecs + func DocsMarkdown() ([]byte, error) + func FieldConfigSpec() docs.FieldSpecs + func InitTemplates(templatesPaths ...string) ([]string, error) + func RegisterTemplateYAML(env *bundle.Environment, template []byte) error + func WithMetricsMapping(nm bundle.NewManagement, m *metrics.Mapping) bundle.NewManagement + type Config struct + Categories []string + Description string + Fields []FieldConfig + Mapping string + MetricsMapping string + Name string + Status string + Summary string + Tests []TestConfig + Type string + func ReadConfigFile(path string) (conf Config, lints []docs.Lint, err error) + func ReadConfigYAML(templateBytes []byte) (conf Config, lints []docs.Lint, err error) + func (c Config) ComponentSpec() (docs.ComponentSpec, error) + func (c Config) Test() ([]string, error) + type FieldConfig struct + Advanced bool + Default *any + Description string + Kind *string + Name string + Type *string + func (c FieldConfig) FieldSpec() (docs.FieldSpec, error) + type TestConfig struct + Config yaml.Node + Expected yaml.Node + Name string Other modules containing this package github.com/dafanshu/benthos/v3