backendconnection

package
v0.0.0-...-4a30195 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

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) Reconcile

func (*BackendConnectionReconciler) SetupWithManager

func (r *BackendConnectionReconciler) SetupWithManager(mgr ctrl.Manager) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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