Commit Graph

5 Commits

Author SHA1 Message Date
Lan Liang ed0f26c328 cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.

See kubernetes/utils#283 for details.

Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
chaosi-zju 8b9e1e22fb add e2e test for deployment replicas syncer
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
(cherry picked from commit a21848da13)
2024-03-28 10:27:25 +08:00
chaosi-zju 350601f2a7 Revert "add e2e test for deployment replicas syncer"
This reverts commit a21848da13.

Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-20 09:56:17 +08:00
chaosi-zju a21848da13 add e2e test for deployment replicas syncer
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-17 19:27:31 +08:00
chaosi-zju 8f5cc4995c sync deployment replicas when it is controlled by hpa
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-03-14 20:39:22 +08:00