Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TemplateFuncs = template.FuncMap{ "to_lower": strings.ToLower, "to_exported_go_type": goTypeName, "to_title": strings.Title, "description": descriptionToComment, "select_defaults": selectDefaults, "quote_strings": quoteStrings, "config_type_imports": configTypeImports, "trim_import": trimImportPrefix, "bool_to_x": boolToX, "replace": strings.ReplaceAll, }
Functions ¶
This section is empty.
Types ¶
type ConfigurationOption ¶
type Processor ¶
type Processor struct { Description string Configuration []ConfigurationOption }
type Processors ¶
type Processors struct { CommonFields map[string]interface{} `yaml:"common_fields"` Processors []map[string]Processor }
func ReadProcessorsYAMLFile ¶
func ReadProcessorsYAMLFile(path string) (*Processors, error)
Click to show internal directories.
Click to hide internal directories.