-
Couldn't load subscription status.
- Fork 141
Refactor controllers registration #646
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| package reconciler_test | ||
| package controller_test | ||
|
|
||
| import ( | ||
| "testing" | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| /* | ||
| Package controller is responsible for creating and registering controllers for | ||
| sigs.k8s.io/controller-runtime/pkg/manager.Manager. | ||
|
|
||
| A controller is responsible for watching for updates to the resource of a desired type and propagating those updates | ||
| as events through the event channel. | ||
|
|
||
| The reconciliation part of a controller -- reacting on a resource change -- is implemented by the Reconciler type, | ||
| which in turn implements sigs.k8s.io/controller-runtime/pkg/reconcile.Reconciler. | ||
| */ | ||
| package controller |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| package reconciler | ||
| package controller | ||
|
|
||
| import ( | ||
| "context" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.