{{ $fluxVersions := $.Site.Data.flux_influxdb_versions }}
{{ $fluxLatest:= $fluxVersions.flux.latest }}
{{ $cloudVersion := $fluxVersions.cloud.current }}
{{ $cloudSemVer:= split $fluxVersions.cloud.current "." }}
{{ $oss:= $fluxVersions.oss }}
{{ $enterprise:= $fluxVersions.enterprise }}
{{ $isPackage := in $.Page.Title "package" }}
{{ $isFunction := in $.Page.Title "function" }}
{{ .Scratch.Set "itemRef" "" }}
{{ if $isPackage }}
{{ .Scratch.Set "itemRef" (print "the " (replaceRE " package" "" $.Page.Title ) "
package") }}
{{ else }}
{{ .Scratch.Set "itemRef" (print "" (replaceRE " function" "" $.Page.Title ) "
") }}
{{ end }}
{{ $itemRef := .Scratch.Get "itemRef" }}
{{ $introduced := $.Page.Params.introduced }}
{{ $introducedSemVer := split $.Page.Params.introduced "." }}
{{ $deprecatedSemVer := split $.Page.Params.deprecated "." }}
{{ $sameAsLatest := eq $introduced $fluxLatest }}
{{ $excludePatternOSS := $.Page.Params.exclude_from.oss | default " " }}
{{ $excludePatternEnterprise := $.Page.Params.exclude_from.enterprise | default " " }}
InfluxDB Cloud
{{ if $cloudExcluded }} {{ else if $cloudDeprecated }} {{ else if $cloudSupported }} {{ end }}
InfluxDB {{ $key }}
{{ if $excluded }} {{ else if $deprecated }} {{ else if $supported }} {{ end }}
InfluxDB {{ $key }}
{{ if $excluded }} {{ else if $deprecated }} {{ else if $supported }} {{ end }}
InfluxDB {{ $key }}
{{ if $excluded }} {{ else if $deprecated }} {{ else if $supported }} {{ end }}
InfluxDB {{ $key }}
{{ if $excluded }} {{ else if $deprecated }} {{ else if $supported }} {{ end }}
InfluxDB Enterprise {{ $key }}
{{ if $excluded }} {{ else if $deprecated }} {{ else if $supported }} {{ end }}
InfluxDB Enterprise {{ $key }}
{{ if $excluded }} {{ else if $deprecated }} {{ else if $supported }} {{ end }}
For information about what version of Flux is available in each version of InfluxDB, see Flux versions in InfluxDB.