Documentation ¶
Index ¶
- type OperatorResourceHandler
- func (h *OperatorResourceHandler) Create(_ context.Context, evt event.CreateEvent, q workqueue.RateLimitingInterface)
- func (h *OperatorResourceHandler) Delete(_ context.Context, evt event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (h *OperatorResourceHandler) Free(addon *addonsv1alpha1.Addon)
- func (h *OperatorResourceHandler) Generic(_ context.Context, evt event.GenericEvent, q workqueue.RateLimitingInterface)
- func (h *OperatorResourceHandler) Update(_ context.Context, evt event.UpdateEvent, q workqueue.RateLimitingInterface)
- func (h *OperatorResourceHandler) UpdateMap(addon *addonsv1alpha1.Addon, operatorKey client.ObjectKey) (changed bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OperatorResourceHandler ¶ added in v1.7.0
type OperatorResourceHandler struct {
// contains filtered or unexported fields
}
func NewOperatorResourceHandler ¶ added in v1.7.0
func NewOperatorResourceHandler() *OperatorResourceHandler
func (*OperatorResourceHandler) Create ¶ added in v1.7.0
func (h *OperatorResourceHandler) Create(_ context.Context, evt event.CreateEvent, q workqueue.RateLimitingInterface)
Create is called in response to an create event.
func (*OperatorResourceHandler) Delete ¶ added in v1.7.0
func (h *OperatorResourceHandler) Delete(_ context.Context, evt event.DeleteEvent, q workqueue.RateLimitingInterface)
Delete is called in response to a delete event.
func (*OperatorResourceHandler) Free ¶ added in v1.7.0
func (h *OperatorResourceHandler) Free(addon *addonsv1alpha1.Addon)
Free removes all event mappings associated with the given Addon.
func (*OperatorResourceHandler) Generic ¶ added in v1.7.0
func (h *OperatorResourceHandler) Generic(_ context.Context, evt event.GenericEvent, q workqueue.RateLimitingInterface)
Generic is called in response to an event of an unknown type or a synthetic event triggered as a cron or external trigger request - e.g. reconcile Autoscaling, or a Webhook.
func (*OperatorResourceHandler) Update ¶ added in v1.7.0
func (h *OperatorResourceHandler) Update(_ context.Context, evt event.UpdateEvent, q workqueue.RateLimitingInterface)
Update is called in response to an update event.
func (*OperatorResourceHandler) UpdateMap ¶ added in v1.7.0
func (h *OperatorResourceHandler) UpdateMap(addon *addonsv1alpha1.Addon, operatorKey client.ObjectKey) (changed bool)
Click to show internal directories.
Click to hide internal directories.