-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change watching events to use interface instead of struct #43
Conversation
@@ -31,7 +31,7 @@ import ( | |||
// EventHandler accepts a workqueue and returns ResourceEventHandlerFuncs that enqueue messages to it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change ResourceEventHandlerFuncs
in the comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -42,7 +42,7 @@ type MapAndEnqueue struct { | |||
} | |||
|
|||
// Get returns ResourceEventHandlerFuncs that Map an object to a Key and enqueue the key if it is non-empty |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
pkg/controller/types/types.go
Outdated
@@ -25,7 +25,7 @@ import ( | |||
type ReconcileFn func(ReconcileKey) error | |||
|
|||
// HandleFnProvider returns cache.ResourceEventHandlerFuncs that may enqueue messages |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
PTAL |
No description provided.