Made cache.Controller to be interface.

This commit is contained in:
Klaus Ma
2017-01-12 21:45:53 +08:00
parent 31483bf546
commit 25fe1e0d82
36 changed files with 115 additions and 110 deletions

View File

@@ -56,7 +56,7 @@ type NamespaceController struct {
// store that holds the namespaces
store cache.Store
// controller that observes the namespaces
controller *cache.Controller
controller cache.Controller
// namespaces that have been queued up for processing by workers
queue workqueue.RateLimitingInterface
// function to list of preferred resources for namespace deletion