mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Merge pull request #39803 from jayunit100/sched_cleanup_config_1
Automatic merge from submit-queue (batch tested with PRs 39803, 39698, 39537, 39478) Use controller interface for everything in config factory **What this PR does / why we need it**: We want to replace controller structs with interfaces - per the TODO in `ControllerInterface` - Specifically this will make the decoupling from Config and reuse of the scheduler's subcomponents cleaner.
This commit is contained in:
@@ -80,12 +80,12 @@ type ConfigFactory struct {
|
||||
StopEverything chan struct{}
|
||||
|
||||
informerFactory informers.SharedInformerFactory
|
||||
scheduledPodPopulator *cache.Controller
|
||||
nodePopulator *cache.Controller
|
||||
pvPopulator *cache.Controller
|
||||
scheduledPodPopulator cache.ControllerInterface
|
||||
nodePopulator cache.ControllerInterface
|
||||
pvPopulator cache.ControllerInterface
|
||||
pvcPopulator cache.ControllerInterface
|
||||
servicePopulator *cache.Controller
|
||||
controllerPopulator *cache.Controller
|
||||
servicePopulator cache.ControllerInterface
|
||||
controllerPopulator cache.ControllerInterface
|
||||
|
||||
schedulerCache schedulercache.Cache
|
||||
|
||||
|
Reference in New Issue
Block a user