helper

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Deserialize

func Deserialize(data []byte) (runtime.Object, error)

func DetectPrometheusBaseURL added in v1.35.0

func DetectPrometheusBaseURL(ctx context.Context, mcClient *client.Client) (string, error)

DetectPrometheusBaseURL checks if the MC is running old Prometheus setup or mimir and returns the base URL to send PROMQL queries to.

func FileExists added in v1.28.0

func FileExists(filename string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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