Commit ec53518
committed
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.1 parent 0f4d163 commit ec53518
File tree
44 files changed
+2381
-1158
lines changed- internal
- implementations
- endpointslice
- gatewayclass
- gateway
- httproute
- secret
- service
- manager
- filter
- index
- managerfakes
- predicate
- reconciler
- reconcilerfakes
- state
- relationship
- resolver
- pkg/sdk
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+2381
-1158
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | | - | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
629 | 629 | | |
630 | 630 | | |
631 | 631 | | |
632 | | - | |
633 | | - | |
| 632 | + | |
| 633 | + | |
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
| |||
This file was deleted.
Lines changed: 0 additions & 64 deletions
This file was deleted.
Lines changed: 0 additions & 13 deletions
This file was deleted.
This file was deleted.
This file was deleted.
Lines changed: 0 additions & 13 deletions
This file was deleted.
This file was deleted.
0 commit comments