Added unit tests to sample-controller

Added unit tests.

Changed NewController function to accept informers and not informers
factory. This make code more testable and align it with other
controllers.

Kubernetes-commit: a29a1cbb955e993300c9388a218a4f323f3fdf8f
This commit is contained in:
Gregory Man
2017-10-19 18:31:46 +03:00
committed by Kubernetes Publisher
parent 2a0c700ccd
commit c11b6bcaeb
4 changed files with 635 additions and 205 deletions
+315 -195
View File
File diff suppressed because it is too large Load Diff