-
Notifications
You must be signed in to change notification settings - Fork 427
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify informer code to use common SharedIndexFactories (#1595)
Summary: This simplfies informer code to use common sharedIndexFactories. One set for namespaced resources and another factory for non-namespaced resources. We also use the same factories to do the initial list and population of caches instead of using the bare clientset. Type of change: /kind cleanup Test Plan: Added logs to ensure that the order dependent stuff still was init in order. Signed-off-by: Vihang Mehta <[email protected]>
- Loading branch information
Showing
3 changed files
with
104 additions
and
196 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 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