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