Mike Spreitzer
6e60f3495c
Brush up the sample controller
...
Signed-off-by: Mike Spreitzer <mspreitz@us.ibm.com>
Kubernetes-commit: 7848612de8d0f6e4ac67c180184ee4bed1ac7691
2024-02-02 14:30:25 -05:00
Prasad Chandrasekaran
ab7425d650
Migrate sample-controller to contextual logging
...
Kubernetes-commit: e346475822604fc41bd38e24a331fc7a8314876a
2022-11-14 09:16:04 +05:30
Frank Yang
0edb970c17
feat(sample-controller): use update status
...
Signed-off-by: Frank Yang <yangpoan@gmail.com>
Kubernetes-commit: 01e9c80d90c5a6da8278d0785ef583e01f901c1e
2021-11-18 22:00:54 +08:00
carlory
bf70b19355
fix static check failures in staging pkg
...
Kubernetes-commit: d3578f465d1e41f6fb022f64117f51cbed90fd9d
2019-08-26 21:23:40 +08:00
Ajat Prabha
1e56cadeb7
Update deprecated diff.ObjectGoPrintDiff method
...
Use `diff.ObjectGoPrintSideBySide` to print the difference.
Kubernetes-commit: 291c145bc567ca8ef82aee14098d0dda7c818300
2019-07-17 17:25:34 +05:30
Dr. Stefan Schimanski
84833d0138
sample-controller: adapt to package moves
...
Kubernetes-commit: b671a06e46ced532c76136474afa8e88a136e99f
2019-02-15 13:08:42 +01:00
Sen Lu
f98e21072d
fix patch compare in test
...
Kubernetes-commit: 6e40cd846c1d68fed1315e37823ba600e9c761f2
2018-09-14 22:48:49 -07:00
Gregory Man
92fe46a498
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
2017-10-19 18:31:46 +03:00