karmada/pkg/scheduler/core/spreadconstraint
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
..
group_clusters.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
group_clusters_test.go bump golangci to v1.58.0 2024-05-13 09:32:13 +08:00
select_clusters.go bump golangci-lint to v1.55.2 2024-01-21 12:34:24 +08:00
select_clusters_by_cluster.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
select_clusters_by_region.go cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer. 2024-05-28 05:32:33 +00:00
select_clusters_by_region_test.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
select_clusters_test.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
select_groups.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
select_groups_test.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
util.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00
util_test.go feat: add license and verify license for code file 2023-11-16 11:11:21 +08:00