forked from nginx/nginx-gateway-fabric
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor reconcilers and implementations (nginx#250)
Previously, all reconcilers and implementations looked almost the same. This commit: - Replaces all reconcilers with a single one. - Removes all implementations. Now the reconciler sends upsert and delete events to the event channel instead of the implementations. The sending to the events part of the reconciler doesn't have the shutdown bug (a possibility to hang while sending to the channel during the shutdown) all implementations shared. - Removes the sdk package. Additionally, the Manager now uses the same logger as the other components.
- Loading branch information
Showing
44 changed files
with
2,381 additions
and
1,158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
64 changes: 0 additions & 64 deletions
64
internal/implementations/endpointslice/endpointslice_test.go
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
internal/implementations/endpointslice/implementation_suite_test.go
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
internal/implementations/gateway/implementation_suite_test.go
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.