File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import (
28
28
"k8s.io/client-go/util/workqueue"
29
29
)
30
30
31
- // EventHandler accepts a workqueue and returns ResourceEventHandlerFuncs that enqueue messages to it
31
+ // EventHandler accepts a workqueue and returns ResourceEventHandler that enqueue messages to it
32
32
// for add / update / delete events
33
33
type EventHandler interface {
34
34
Get (r workqueue.RateLimitingInterface ) cache.ResourceEventHandler
@@ -41,7 +41,7 @@ type MapAndEnqueue struct {
41
41
Map func (interface {}) string
42
42
}
43
43
44
- // Get returns ResourceEventHandlerFuncs that Map an object to a Key and enqueue the key if it is non-empty
44
+ // Get returns ResourceEventHandler that Map an object to a Key and enqueue the key if it is non-empty
45
45
func (mp MapAndEnqueue ) Get (r workqueue.RateLimitingInterface ) cache.ResourceEventHandler {
46
46
// Enqueue the mapped key for updates to the object
47
47
return cache.ResourceEventHandlerFuncs {
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
// ReconcileFn takes the key of an object and reconciles its desired and observed state.
25
25
type ReconcileFn func (ReconcileKey ) error
26
26
27
- // HandleFnProvider returns cache.ResourceEventHandlerFuncs that may enqueue messages
27
+ // HandleFnProvider returns cache.ResourceEventHandler that may enqueue messages
28
28
type HandleFnProvider func (workqueue.RateLimitingInterface ) cache.ResourceEventHandler
29
29
30
30
// ReconcileKey provides a lookup key for a Kubernetes object.
You can’t perform that action at this time.
0 commit comments