Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendConnectionManager ¶
type BackendConnectionManager struct { client.Client Clientset *kubernetes.Clientset *otelcolresources.OTelColResourceManager // contains filtered or unexported fields }
func (*BackendConnectionManager) ReconcileOpenTelemetryCollector ¶
func (m *BackendConnectionManager) ReconcileOpenTelemetryCollector( ctx context.Context, images util.Images, operatorNamespace string, monitoringResource *dash0v1alpha1.Dash0Monitoring, trigger BackendConnectionReconcileTrigger, ) error
func (*BackendConnectionManager) RemoveOpenTelemetryCollectorIfNoMonitoringResourceIsLeft ¶
func (m *BackendConnectionManager) RemoveOpenTelemetryCollectorIfNoMonitoringResourceIsLeft( ctx context.Context, operatorNamespace string, dash0MonitoringResourceToBeDeleted *dash0v1alpha1.Dash0Monitoring, ) error
type BackendConnectionReconcileTrigger ¶
type BackendConnectionReconcileTrigger string
const ( TriggeredByWatchEvent BackendConnectionReconcileTrigger = "watch" TriggeredByMonitoringResource BackendConnectionReconcileTrigger = "resource" )
type BackendConnectionReconciler ¶
type BackendConnectionReconciler struct { client.Client BackendConnectionManager *BackendConnectionManager Images util.Images OperatorNamespace string OTelCollectorNamePrefix string }
func (*BackendConnectionReconciler) SetupWithManager ¶
func (r *BackendConnectionReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.