kubernetes_monitors

package
v0.0.0-...-09479ac Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMonitorInstall

func IsMonitorInstall(cr *v1alpha1.PlatformMonitoring, monitorName string) bool

IsMonitorInstall returns "true" if monitor should be installed

func IsMonitorPresentInPublicCloud

func IsMonitorPresentInPublicCloud(cr *v1alpha1.PlatformMonitoring, monitorName string) (bool, bool)

IsMonitorPresentInPublicCloud gets an answer in format (does the public cloud affect the monitor?, should the monitor be installed?)

Types

type KubernetesMonitorsReconciler

type KubernetesMonitorsReconciler struct {
	*utils.ComponentReconciler
}

KubernetesMonitorsReconciler is a reconciler to maintain configuration of k8s service monitors

func NewKubernetesMonitorsReconciler

func NewKubernetesMonitorsReconciler(c client.Client, s *runtime.Scheme, dc discovery.DiscoveryInterface) *KubernetesMonitorsReconciler

NewKubernetesMonitorsReconciler returns KubernetesMonitorsReconciler by specified parameters

func (*KubernetesMonitorsReconciler) Run

Run reconciles k8s service monitors Creates, updates and deletes service monitors for k8s monitoring depending of configurtion

Jump to

Keyboard shortcuts

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