Adapt templates to generator tool definitions
parent
b32c482ab3
commit
afd475aa59
|
@ -6,10 +6,14 @@ menu:
|
|||
name: {{.Name}}
|
||||
identifier: aggregator-{{.ID}}
|
||||
tags: [{{.Name}}, "aggregator-plugins", "configuration"{{range .Tags}}, "{{.}}"{{end}}]
|
||||
{{if .Introduced}}introduced: "{{.Introduced}}"{{end}}
|
||||
{{if .Deprecated}}deprecated: "{{.Deprecated}}"{{end}}
|
||||
{{if .Removal}}removal: "{{.Removal}}"{{end}}
|
||||
{{if .OS}}os_support: "{{.OS}}"{{end}}
|
||||
introduced: "{{.Introduced}}"
|
||||
{{- with .Deprecated}}
|
||||
deprecated: {{.}}
|
||||
{{- end}}
|
||||
{{- with .Removal}}
|
||||
removal: {{.}}
|
||||
{{- end}}
|
||||
os_support: "{{.OSTags | join ", "}}"
|
||||
related:
|
||||
- /telegraf/v1/configure_plugins/
|
||||
- {{.URL}}, {{.Name}} Plugin Source
|
||||
|
|
|
@ -6,10 +6,14 @@ menu:
|
|||
name: {{.Name}}
|
||||
identifier: input-{{.ID}}
|
||||
tags: [{{.Name}}, "input-plugins", "configuration"{{range .Tags}}, "{{.}}"{{end}}]
|
||||
{{if .Introduced}}introduced: "{{.Introduced}}"{{end}}
|
||||
{{if .Deprecated}}deprecated: "{{.Deprecated}}"{{end}}
|
||||
{{if .Removal}}removal: "{{.Removal}}"{{end}}
|
||||
{{if .OS}}os_support: "{{.OS}}"{{end}}
|
||||
introduced: "{{.Introduced}}"
|
||||
{{- with .Deprecated}}
|
||||
deprecated: {{.}}
|
||||
{{- end}}
|
||||
{{- with .Removal}}
|
||||
removal: {{.}}
|
||||
{{- end}}
|
||||
os_support: "{{.OSTags | join ", "}}"
|
||||
related:
|
||||
- /telegraf/v1/configure_plugins/
|
||||
- {{.URL}}, {{.Name}} Plugin Source
|
||||
|
|
|
@ -6,10 +6,14 @@ menu:
|
|||
name: {{.Name}}
|
||||
identifier: output-{{.ID}}
|
||||
tags: [{{.Name}}, "output-plugins", "configuration"{{range .Tags}}, "{{.}}"{{end}}]
|
||||
{{if .Introduced}}introduced: "{{.Introduced}}"{{end}}
|
||||
{{if .Deprecated}}deprecated: "{{.Deprecated}}"{{end}}
|
||||
{{if .Removal}}removal: "{{.Removal}}"{{end}}
|
||||
{{if .OS}}os_support: "{{.OS}}"{{end}}
|
||||
introduced: "{{.Introduced}}"
|
||||
{{- with .Deprecated}}
|
||||
deprecated: {{.}}
|
||||
{{- end}}
|
||||
{{- with .Removal}}
|
||||
removal: {{.}}
|
||||
{{- end}}
|
||||
os_support: "{{.OSTags | join ", "}}"
|
||||
related:
|
||||
- /telegraf/v1/configure_plugins/
|
||||
- {{.URL}}, {{.Name}} Plugin Source
|
||||
|
|
|
@ -9,7 +9,5 @@
|
|||
{{- with .Removal }}
|
||||
removal: {{ . }}
|
||||
{{- end }}
|
||||
{{ with .OS }}
|
||||
os_support: {{ . }}
|
||||
{{- end }}
|
||||
os_support: [{{ .OSTags | join ", " }}]
|
||||
tags: [{{ .Tags | join ", " }}]
|
||||
|
|
|
@ -6,10 +6,14 @@ menu:
|
|||
name: {{.Name}}
|
||||
identifier: processor-{{.ID}}
|
||||
tags: [{{.Name}}, "processor-plugins", "configuration"{{range .Tags}}, "{{.}}"{{end}}]
|
||||
{{if .Introduced}}introduced: "{{.Introduced}}"{{end}}
|
||||
{{if .Deprecated}}deprecated: "{{.Deprecated}}"{{end}}
|
||||
{{if .Removal}}removal: "{{.Removal}}"{{end}}
|
||||
{{if .OS}}os_support: "{{.OS}}"{{end}}
|
||||
introduced: "{{.Introduced}}"
|
||||
{{- with .Deprecated}}
|
||||
deprecated: {{.}}
|
||||
{{- end}}
|
||||
{{- with .Removal}}
|
||||
removal: {{.}}
|
||||
{{- end}}
|
||||
os_support: "{{.OSTags | join ", "}}"
|
||||
related:
|
||||
- /telegraf/v1/configure_plugins/
|
||||
- {{.URL}}, {{.Name}} Plugin Source
|
||||
|
|
Loading…
Reference in New Issue