Commit b932c827 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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.
parents a310171a 272b5dd1
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment