eventhandlers

package
v0.0.0-...-7d1f045 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceEventReasonFailedToListIngresses = "ServiceEventFailedToListIngresses"

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceEventHandler

type ServiceEventHandler struct {
	Log logr.Logger
	k8s.IngressLoader
	record.EventRecorder
}

func NewServiceEventHandler

func NewServiceEventHandler(logger logr.Logger, cli client.Client, eventRecorder record.EventRecorder) *ServiceEventHandler

func (ServiceEventHandler) Common

func (ServiceEventHandler) Create

func (s ServiceEventHandler) Create(event event.CreateEvent, limitingInterface workqueue.RateLimitingInterface)

func (ServiceEventHandler) Delete

func (s ServiceEventHandler) Delete(event event.DeleteEvent, limitingInterface workqueue.RateLimitingInterface)

func (ServiceEventHandler) Generic

func (s ServiceEventHandler) Generic(event event.GenericEvent, limitingInterface workqueue.RateLimitingInterface)

func (ServiceEventHandler) Update

func (s ServiceEventHandler) Update(event event.UpdateEvent, limitingInterface workqueue.RateLimitingInterface)

type SettingsEventHandler

type SettingsEventHandler struct {
	IngressLoader k8s.IngressLoader
	Logger        logr.Logger
}

func NewSettingsEventHandler

func NewSettingsEventHandler(logger logr.Logger, cli client.Client) *SettingsEventHandler

func (SettingsEventHandler) Common

func (SettingsEventHandler) Create

func (s SettingsEventHandler) Create(event event.CreateEvent, limitingInterface workqueue.RateLimitingInterface)

func (SettingsEventHandler) Delete

func (s SettingsEventHandler) Delete(event event.DeleteEvent, limitingInterface workqueue.RateLimitingInterface)

func (SettingsEventHandler) Generic

func (s SettingsEventHandler) Generic(event event.GenericEvent, limitingInterface workqueue.RateLimitingInterface)

func (SettingsEventHandler) Update

func (s SettingsEventHandler) Update(event event.UpdateEvent, limitingInterface workqueue.RateLimitingInterface)

Jump to

Keyboard shortcuts

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