Documentation ¶
Overview ¶
Package handler contains all event handlers of the project
Index ¶
- type VeleroBackupHandler
- func (VeleroBackupHandler) Create(_ context.Context, _ event.CreateEvent, _ workqueue.RateLimitingInterface)
- func (VeleroBackupHandler) Delete(_ context.Context, _ event.DeleteEvent, _ workqueue.RateLimitingInterface)
- func (VeleroBackupHandler) Generic(_ context.Context, _ event.GenericEvent, _ workqueue.RateLimitingInterface)
- func (VeleroBackupHandler) Update(ctx context.Context, evt event.UpdateEvent, q workqueue.RateLimitingInterface)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VeleroBackupHandler ¶
type VeleroBackupHandler struct{}
VeleroBackupHandler contains event handlers for Velero Backup objects
func (VeleroBackupHandler) Create ¶
func (VeleroBackupHandler) Create(_ context.Context, _ event.CreateEvent, _ workqueue.RateLimitingInterface)
Create event handler
func (VeleroBackupHandler) Delete ¶
func (VeleroBackupHandler) Delete(_ context.Context, _ event.DeleteEvent, _ workqueue.RateLimitingInterface)
Delete event handler
func (VeleroBackupHandler) Generic ¶
func (VeleroBackupHandler) Generic(_ context.Context, _ event.GenericEvent, _ workqueue.RateLimitingInterface)
Generic event handler
func (VeleroBackupHandler) Update ¶
func (VeleroBackupHandler) Update(ctx context.Context, evt event.UpdateEvent, q workqueue.RateLimitingInterface)
Update event handler adds Velero Backup's NonAdminBackup to controller queue
Click to show internal directories.
Click to hide internal directories.