alert

package
v1.110.1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController(ctx context.Context,
	kubeClient kubernetes.Interface,
	radixClient radixclient.Interface,
	handler common.Handler,
	kubeInformerFactory kubeinformers.SharedInformerFactory,
	radixInformerFactory informers.SharedInformerFactory) *common.Controller

NewController creates a new controller that handles RadixAlerts

func NewHandler

func NewHandler(kubeclient kubernetes.Interface,
	kubeutil *kube.Kube,
	dynamicClient client.Client,
	eventRecorder record.EventRecorder,
	options ...HandlerConfigOption) common.Handler

NewHandler Constructor

Types

type HandlerConfigOption

type HandlerConfigOption func(*handler)

HandlerConfigOption defines a configuration function used for additional configuration of Handler

func WithAlertSyncerFactory

func WithAlertSyncerFactory(factory alert.AlertSyncerFactory) HandlerConfigOption

WithAlertSyncerFactory configures the alertSyncerFactory for the Handler

Jump to

Keyboard shortcuts

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