Documentation ¶
Index ¶
- func WriteHTMLComponentHeader(w io.Writer, chd ComponentHeaderData)
- func WriteHTMLExtensionsSummaryTable(w io.Writer, spd SummaryExtensionsTableData)
- func WriteHTMLFeaturesTable(w io.Writer, ftd FeatureGateTableData)
- func WriteHTMLPageFooter(w io.Writer)
- func WriteHTMLPageHeader(w io.Writer, hd HeaderData)
- func WriteHTMLPipelinesSummaryTable(w io.Writer, spd SummaryPipelinesTableData)
- func WriteHTMLPropertiesTable(w io.Writer, chd PropertiesTableData)
- type ComponentHeaderData
- type FeatureGateTableData
- type FeatureGateTableRowData
- type HeaderData
- type PropertiesTableData
- type SummaryExtensionsTableData
- type SummaryExtensionsTableRowData
- type SummaryPipelinesTableData
- type SummaryPipelinesTableRowData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteHTMLComponentHeader ¶
func WriteHTMLComponentHeader(w io.Writer, chd ComponentHeaderData)
WriteHTMLComponentHeader writes the header for components.
func WriteHTMLExtensionsSummaryTable ¶
func WriteHTMLExtensionsSummaryTable(w io.Writer, spd SummaryExtensionsTableData)
WriteHTMLExtensionsSummaryTable writes the summary table for one component type (receivers, processors, exporters). Id does not write the header or footer.
func WriteHTMLFeaturesTable ¶ added in v0.45.0
func WriteHTMLFeaturesTable(w io.Writer, ftd FeatureGateTableData)
WriteHTMLFeaturesTable writes a table summarizing registered feature gates.
func WriteHTMLPageFooter ¶ added in v0.39.0
WriteHTMLPageFooter writes the footer.
func WriteHTMLPageHeader ¶ added in v0.39.0
func WriteHTMLPageHeader(w io.Writer, hd HeaderData)
WriteHTMLPageHeader writes the header.
func WriteHTMLPipelinesSummaryTable ¶
func WriteHTMLPipelinesSummaryTable(w io.Writer, spd SummaryPipelinesTableData)
WriteHTMLPipelinesSummaryTable writes the summary table for one component type (receivers, processors, exporters). Id does not write the header or footer.
func WriteHTMLPropertiesTable ¶
func WriteHTMLPropertiesTable(w io.Writer, chd PropertiesTableData)
WriteHTMLPropertiesTable writes the HTML for properties table.
Types ¶
type ComponentHeaderData ¶
ComponentHeaderData contains data for component header template.
type FeatureGateTableData ¶ added in v0.45.0
type FeatureGateTableData struct {
Rows []FeatureGateTableRowData
}
FeatureGateTableData contains data for feature gate table template.
type FeatureGateTableRowData ¶ added in v0.45.0
type FeatureGateTableRowData struct { ID string Enabled bool Description string Stage string FromVersion string ToVersion string ReferenceURL string }
FeatureGateTableRowData contains data for one row in feature gate table template.
type HeaderData ¶
type HeaderData struct {
Title string
}
HeaderData contains data for the header template.
type PropertiesTableData ¶
PropertiesTableData contains data for properties table template.
type SummaryExtensionsTableData ¶
type SummaryExtensionsTableData struct {
Rows []SummaryExtensionsTableRowData
}
SummaryExtensionsTableData contains data for extensions summary table template.
type SummaryExtensionsTableRowData ¶
SummaryExtensionsTableRowData contains data for one row in extensions summary table template.
type SummaryPipelinesTableData ¶
type SummaryPipelinesTableData struct {
Rows []SummaryPipelinesTableRowData
}
SummaryPipelinesTableData contains data for pipelines summary table template.