karmada/pkg/controllers/gracefuleviction
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
..
crb_graceful_eviction_controller.go add empty judgement for placement in taint-manager 2024-05-21 16:23:13 +08:00
evictiontask.go fix(work): motify gracefulEvictionTasks sub field to pointer type 2023-12-22 17:06:31 +08:00
evictiontask_test.go cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer. 2024-05-28 05:32:33 +00:00
rb_graceful_eviction_controller.go add empty judgement for placement in taint-manager 2024-05-21 16:23:13 +08:00