Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterMonitoringReconciler ¶
type ClusterMonitoringReconciler struct {
// Client is the controller client.
client.Client
common.ManagementCluster
// PrometheusAgentService is the service for managing PrometheusAgent resources.
prometheusagent.PrometheusAgentService
// HeartbeatRepository is the repository for managing heartbeats.
heartbeat.HeartbeatRepository
// MimirService is the service for managing mimir configuration.
mimir.MimirService
// MonitoringEnabled defines whether monitoring is enabled at the installation level.
MonitoringEnabled bool
}
ClusterMonitoringReconciler reconciles a Cluster object
func (*ClusterMonitoringReconciler) Reconcile ¶
func (r *ClusterMonitoringReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.17.0/pkg/reconcile
func (*ClusterMonitoringReconciler) SetupWithManager ¶
func (r *ClusterMonitoringReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.