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
zhzhuang-zju 5e99881e59 correct the license in the lifted directory
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2023-11-30 20:21:36 +08:00
zhy76 adef1e5974 feat: add license and verify license for code file
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
Tanggui Bian 2390cde5f8 update lifted files to k8s 1.26
Signed-off-by: Tanggui Bian <softwarebtg@163.com>
2023-07-17 17:07:13 +08:00
rayywu 5977e1bd00 Add UT for pkg/util/lifted
Signed-off-by: rayywu <rayywu@tencent.com>
2023-05-14 01:33:12 +08:00