mirror of https://github.com/k3s-io/k3s
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.pull/6/head
commit
b932c82739
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue