prometheus

package
v0.86.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Namespace = "prometheus"
)

Variables

This section is empty.

Functions

func CreateInstallationSLI

func CreateInstallationSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, installationName string, logger log.FieldLogger) error

func CreateOrUpdateClusterPrometheusServiceLevel

func CreateOrUpdateClusterPrometheusServiceLevel(psl slothv1.PrometheusServiceLevel, k8sClient *k8s.KubeClient, logger log.FieldLogger) error

func CreateOrUpdateInstallationSLI

func CreateOrUpdateInstallationSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, installationName string, logger log.FieldLogger) error

func CreateOrUpdateNginxSLI

func CreateOrUpdateNginxSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, serviceName string, logger log.FieldLogger) error

func DeleteInstallationSLI

func DeleteInstallationSLI(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, logger log.FieldLogger) error

func EnsureNginxSLIDeleted

func EnsureNginxSLIDeleted(clusterInstallation *model.ClusterInstallation, k8sClient *k8s.KubeClient, logger log.FieldLogger) error

func GetNginxSlothObjectName

func GetNginxSlothObjectName(clusterInstallation *model.ClusterInstallation) string

func PrepareSloth

func PrepareSloth(k8sClient *k8s.KubeClient, logger logrus.FieldLogger) error

PrepareSloth prepares sloth resources after prometheus helm is installed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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