cockpit

package
v2.56.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildPrometheusRemoteWriteURL added in v2.56.1

func BuildPrometheusRemoteWriteURL(dataSourceURL string) string

BuildPrometheusRemoteWriteURL returns the remote_write push URL for a Cockpit metrics data source base URL.

func GetCommands added in v2.33.0

func GetCommands() *core.Commands

func GetGeneratedCommands

func GetGeneratedCommands() *core.Commands

func RenderPrometheusRemoteWriteConfig added in v2.56.1

func RenderPrometheusRemoteWriteConfig(
	dataSourceURL string,
	tokenSecretKey *string,
) core.RawResult

RenderPrometheusRemoteWriteConfig renders a Prometheus remote_write YAML snippet for stdout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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