docs

package
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 8 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildAlertsDocs

func BuildAlertsDocs(alerts []promv1.Rule) string

BuildAlertsDocs returns a string with the documentation for the given metrics.

func BuildAlertsDocsWithCustomTemplate

func BuildAlertsDocsWithCustomTemplate(
	alerts []promv1.Rule,
	tplString string,
) string

BuildAlertsDocsWithCustomTemplate returns a string with the documentation for the given alerts, using the given template.

func BuildMetricsDocs

func BuildMetricsDocs(metrics []operatormetrics.Metric, recordingRules []operatorrules.RecordingRule) string

BuildMetricsDocs returns a string with the documentation for the given metrics.

func BuildMetricsDocsWithCustomTemplate

func BuildMetricsDocsWithCustomTemplate(
	metrics []operatormetrics.Metric,
	recordingRules []operatorrules.RecordingRule,
	tplString string,
) string

BuildMetricsDocsWithCustomTemplate returns a string with the documentation for the given metrics, using the given template.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL