observabilityalertsnotificationchannel

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// NotificationChannelCleanupFinalizer is the finalizer that is used to clean up notification channel resources.
	NotificationChannelCleanupFinalizer = "openchoreo.dev/notification-channel-cleanup"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	PlaneClientProvider kubernetesClient.ObservabilityPlaneClientProvider
	Scheme              *runtime.Scheme
}

Reconciler reconciles a ObservabilityAlertsNotificationChannel object

func (*Reconciler) Reconcile

func (r *Reconciler) 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. It creates a ConfigMap and Secret with the same name as ObservabilityAlertsNotificationChannel and applies them to the observability plane cluster using cluster-gateway and cluster-agent architecture. Owner references are not set on the ConfigMap and Secret as they are applied to a separate cluster.

For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.19.4/pkg/reconcile

func (*Reconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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