Commit graph

89 commits

Author SHA1 Message Date
tushar743-ui
6fd3f77cf3 added unit test for message_handler.go
Signed-off-by: tushar743-ui <tusharpatle743@gmail.com>
2026-04-15 23:55:01 +05:30
WillardHu
9c9f0c9d83 Fixed the golangci config and some code validation issues
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-01-23 11:03:03 +08:00
Shelley-BaoYue
a6d5d3f2b2 move viaduct to pkg dir
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2024-10-11 16:32:34 +08:00
wbc6080
033557769e Fix the reference to api/client after completing the migration
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2024-08-10 16:50:02 +08:00
luomengY
41206a6900 Supports high availability of router messages.
Signed-off-by: luomengY <2938893385@qq.com>
2024-07-18 14:58:55 +08:00
spambot000
b717535b38 cloudhub enhancement
Signed-off-by: spambot000 <jkjkjk0309@163.com>
2024-07-17 14:11:24 +00:00
Shelley-BaoYue
7ad8f74242 update golint version and fix lint
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2024-06-20 20:00:14 +08:00
wackxu
5eb05b6dec refactor cloudhub
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-09-22 20:25:12 +08:00
vincentgoat
cb0cf03543 fix residual terminating pods problem after edge node reconnected
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2022-09-16 16:11:05 +08:00
Vincent Lin
af73015dc1 Revert "fix residual terminating pods problem after edge node reconnected (#3743)"
Signed-off-by: vincentgoat <linguohui1@huawei.com>

This reverts commit 3f9ff707cf.
2022-09-16 14:53:31 +08:00
Vincent Lin
3f9ff707cf
fix residual terminating pods problem after edge node reconnected (#3743)
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2022-09-16 14:27:44 +08:00
wackxu
926bbe08e5 move some helper function to package common
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-09-13 15:19:46 +08:00
wackxu
555558b5d5 remove nodeLocks from MessageHandle
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-08-22 11:52:55 +08:00
wackxu
65aaf39532 remove nodes from MessageHandle
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-08-05 11:31:11 +08:00
KubeEdge Bot
89d7199c49
Merge pull request #4011 from falser101/fix/cleanup
cleanup: Error string fmt and handle error
2022-07-18 18:27:09 +08:00
jianfei.zhang
88e8cd1597 fix: Error string should not be capitalized or end with punctuation mark and handle error
Signed-off-by: jianfei.zhang <jianfei.zhang@daocloud.io>
2022-07-05 11:47:29 +08:00
vincentgoat
0edd51fc77 fix possible nil pointer of message
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2022-07-01 10:57:29 +08:00
x00425595
74e4720952 refactor message layer
Signed-off-by: wackxu <xushiwei5@huawei.com>
2022-03-29 16:51:32 +08:00
gy95
d7e52d6c39 Move apis and client under kubeedge/cloud/pkg/ to kubeedge/pkg/
Signed-off-by: gy95 <guoyao17@huawei.com>
2022-03-11 16:11:19 +08:00
KubeEdge Bot
611a597f24
Merge pull request #3599 from neiba/objectsync-kind-empty
Fix pv's objectsync spec.ObjectKind is empty
2022-02-14 09:34:50 +08:00
My-pleasure
e05f07ff81 add judgment on using of closed network connection
Signed-off-by: My-pleasure <799648922@qq.com>
2022-02-11 15:00:09 +08:00
chengengkun
c462734fe4 Fix-3585 pv's objectsync spec.ObjectKind is empty
Signed-off-by: chengengkun <1366542563@qq.com>
2022-02-10 12:35:02 +08:00
My-pleasure
ce25b980b3 add sync.Cond to wait without websocket connection
Signed-off-by: My-pleasure <799648922@qq.com>
2022-01-26 10:09:47 +08:00
allenleu
c8259ec612 Modify the wrong function name
Signed-off-by: allenleu <liulun@inspur.com>
2021-12-17 17:21:36 +08:00
KubeEdge Bot
df53042184
Merge pull request #3338 from xujingjing-cmss/bugfix
fix spelling error and remove redundant code
2021-11-23 14:06:22 +08:00
gy95
9758dab706 need to return when error occurs
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-11-23 11:10:19 +08:00
xujingjing
8b9b67f92f fix spelling error and remove redundant code
Signed-off-by: xujingjing <xujingjing_yewu@cmss.chinamobile.com>
2021-11-23 10:53:15 +08:00
lvchenggang
722105304c Remove useless code in edge side
Signed-off-by: lvchenggang <lvchenggang@cmss.chinamobile.com>
2021-11-18 18:49:01 +08:00
zjcomeon
33eefe8874 replaces a string with a defined constant
Signed-off-by: zjcomeon <159109799@qq.com>
2021-09-16 10:42:26 +08:00
gy95
e6d13a43e1 update golangci-lint version to v1.42.0
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-09-08 12:11:24 +08:00
orange
233ad5af1c fixed: the first letter of the fmt.ErrorF is not lowercase
Signed-off-by: orange <zuxia.ge@daocloud.io>
2021-09-03 10:50:34 +08:00
orange
0017f406f8 fixed: remove redundant code in handler/messagehandler.go
Signed-off-by: orange <zuxia.ge@daocloud.io>
2021-08-30 17:04:52 +08:00
fisherxu
eade99a1c3 omit message when node not found
Signed-off-by: fisherxu <xufei40@huawei.com>
2021-05-31 19:35:47 +08:00
KubeEdge Bot
c2b2e0a075
Merge pull request #2690 from Iceber/optimize-message-handler
cloudhub: optimize message handler by removing range
2021-03-29 20:54:23 +08:00
owenkuai
ee7f847a46 cloudhub: fix exit server chan size
Signed-off-by: owenkuai <xuejian.kuai@daocloud.io>
2021-03-23 18:05:48 +08:00
Iceber Gu
beedddc4ca
cloudhub: optimize message handler by removing range
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-03-23 11:56:11 +08:00
Iceber Gu
1e67f633ee
cloudhub: fix the return error
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2021-03-18 13:17:09 +08:00
KubeEdge Bot
15745a7887
Merge pull request #2613 from lvfei103650/kubeedge_keepalivechannel
fix cloudcore crash when nodekeepalivechannel is nil
2021-03-11 09:51:28 +08:00
fei.lv4
fda3c0f93d fix cloudcore crash when nodekeepalivechannel is nil
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
2021-03-10 16:55:53 +08:00
GsssC
ab85504164 [metaserver] modify to pass ci
Signed-off-by: GsssC <914617455@qq.com>
2021-02-07 17:01:50 +08:00
GsssC
8a9ef60a56 tidy dynamiccontroller; add application
Signed-off-by: GsssC <914617455@qq.com>
2021-02-06 15:45:17 +08:00
fisherxu
5b14c020fc init dynamiccontroller
Signed-off-by: fisherxu <xufei40@huawei.com>
2021-02-06 15:45:17 +08:00
WintonChan
2ca453698d Fix issue about comment
Signed-off-by: WintonChan <cw_hao@163.com>
2021-01-27 10:42:44 +08:00
WintonChan
31cc7b6802 Add provider rest and eventbus
Signed-off-by: liufen90 <564795204@qq.com>
Signed-off-by: WintonChan <cw_hao@163.com>
2021-01-21 15:18:47 +08:00
Threestone
50d164968a separate crd client and core client 2021-01-11 13:48:10 +08:00
Threestone
e0651acccf use sharedinformerfactory 2021-01-07 16:08:35 +08:00
Threestone
e30238cec6 optimizeinformer 2021-01-07 16:08:35 +08:00
Xiang Dai
8cb2b338a4 CI: fix panic and other existing issues
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-12-07 15:00:31 +08:00
Threestone
bd3e663237 fix message send problem 2020-12-04 13:06:47 +08:00
GsssC
f01eeff7f4 upgrade klog@0.4.0 to klog/v2@2.2.0 2020-11-20 17:31:57 +08:00