-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Update godocs after refactor #21
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
Conversation
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.
/lgtm (minor nits) - fee free to self-merge it.
pkg/controller/example_test.go
Outdated
@@ -30,7 +30,21 @@ import ( | |||
|
|||
var mrg manager.Manager | |||
|
|||
// This example creates a new controller named "pod-controller" with a no-op reconcile function and registers | |||
// This example creates a new Controller named "pod-controller" with a no-op reconcile function. The | |||
// manager.Manager mrg will be used to Start the Controller, and will provide it a shared Cache and Client. |
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.
nit: mrg --> mgr (looks like your IDE has picked mrg
instead of mgr
) ?
|
||
* Users SHOULD use the provided Source implementations instead of implementing their own for nearly all cases. | ||
|
||
EventHandler |
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.
We made changes to naming in EventHandler
I think ?
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.
The interface stil EventHandler
|
||
* Example: Pod events for a ReplicaSet are transformed to a ReplicaSet name / Namespace, so the ReplicaSet | ||
will be Reconciled only 1 time for multiple Pods. | ||
*/ |
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.
This is a nice doc write up. +1
Update godocs after refactor
Update README.md release links
Rebase: kcp-0.7+ / kube 1.24
No description provided.