Remove delay when deleting namespaces, move to new controller framework

This commit is contained in:
derekwaynecarr
2015-04-13 13:15:27 -04:00
parent 810ad7116d
commit c1a3fa0dae
4 changed files with 35 additions and 58 deletions

View File

@@ -172,7 +172,7 @@ func DeletionHandlingMetaNamespaceKeyFunc(obj interface{}) (string, error) {
// Parameters:
// * lw is list and watch functions for the source of the resource you want to
// be informed of.
// * objType is an object of the type that you expect to receieve.
// * objType is an object of the type that you expect to receive.
// * resyncPeriod: if non-zero, will re-list this often (you will get OnUpdate
// calls, even if nothing changed). Otherwise, re-list will be delayed as
// long as possible (until the upstream source closes the watch or times out,