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 ¶
func (r *KubernetesMonitorsReconciler) Run(cr *v1alpha1.PlatformMonitoring) error
Run reconciles k8s service monitors Creates, updates and deletes service monitors for k8s monitoring depending of configurtion
Click to show internal directories.
Click to hide internal directories.