Commit Graph

14 Commits

Author SHA1 Message Date
RainbowMango 5d14b8d254 Adopt deprecated AddToScheme functions
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-07-11 15:09:13 +08:00
mszacillo 4f16de20ea Taking max replica requirement from jm and tms, updating health interpreter, adding getResourceQuantity function to kube library
Signed-off-by: mszacillo <mszacillo@bloomberg.net>
2024-06-26 13:17:10 -04:00
changzhen 8ec02ca39b add verify for all kinds of interpters with InterpretDependency operation
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-05-28 20:00:00 +08:00
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
RainbowMango d4b610cad6 fix lint issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2024-05-06 11:36:54 +08:00
chaosi-zju e2babc3d24 fix: avoid delete the key with empty value in object (lua table)
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-04-07 09:44:08 +08:00
changzhen f2a260641b remove redundant os preload
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-16 11:01:57 +08:00
changzhen 6b5dc9f850 disable unsafe lua library function
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-01-11 16:49:43 +08:00
Zhizhen He 25a62c6c57
fix typo
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
2023-12-17 16:12:03 +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
changzhen 734cf3ab8f fix depndencies lua scrpit bug
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-09-05 17:36:24 +08:00
lxtywypc 71ffbf429a use ClusterIPServiceResolver instead of DefaultServiceResolver to eliminate dependency of DNS
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-04-17 10:42:43 +08:00
yike21 9acd98faec Add a function getPodDependencies for InterpretDependency operation
Signed-off-by: yike21 <yike21@qq.com>
2023-04-01 11:42:08 +08:00
chaunceyjiang 7e2097f1f3 Optimize code directory structure.
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-03-30 11:49:16 +08:00