Mridankan Mandal
34d08133d1
fix: return CLOSE_CONNECT string
...
Signed-off-by: Mridankan Mandal <xerontitan90@gmail.com>
2026-06-19 02:52:15 +05:30
Xmchx
4def28398b
test: Fix broken tests on master due to PRs #6284 , #6285 , and #6286
...
Signed-off-by: Xmchx <Fengyang.Sun@sony.com>
2025-06-05 13:21:22 +08:00
KubeEdge Bot
2bc8b3d0b2
Merge pull request #6286 from Dhiren-Mhatre/test/improve-cov-egdedexecconnetion
...
[test]:improve coverage for edgedexecconection.go in pkg/stream
2025-06-04 18:26:12 +08:00
Dhiren-Mhatre
4675863ef4
[test]:improve coverage for edgedexecconection.go in pkg/stream
...
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-05-12 10:33:51 +05:30
Dhiren-Mhatre
5ae56c6a9f
[test]:improve coverage for edgedattachconnection in pkg/stream/
...
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-05-12 10:22:16 +05:30
KubeEdge Bot
750fa6625a
Merge pull request #6116 from Dhiren-Mhatre/test/create-test-tunnel.go
...
test: Add comprehensive unit tests for pkg/stream/tunnel.go
2025-05-09 18:59:47 +08:00
Dhiren-Mhatre
d2f692971c
[test]:improve coverage for edgedmetricsconnection in pkg/stream
...
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-04-18 15:10:29 +05:30
KubeEdge Bot
c8d3eb7a3c
Merge pull request #6114 from Dhiren-Mhatre/test/improve-flushwriter-coverage
...
test: create flushwriter unit test
2025-02-12 16:58:47 +08:00
Dhiren-Mhatre
2129d3e05f
test: improve flushwriter test coverage
...
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-02-06 14:19:00 +05:30
Dhiren-Mhatre
14dbd4ae98
test: Add comprehensive unit tests for pkg/stream/tunnel.go
...
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-02-06 13:38:16 +05:30
Dhiren-Mhatre
734d647b76
[Tests]:Coverage improves to 100% of message.go in pkg/stream
...
Signed-off-by: Dhiren-Mhatre <kp064669@gmail.com>
2025-02-06 12:49:25 +05:30
KubeEdge Bot
bf4e3fc0ef
Merge pull request #5690 from 1Shubham7/edgestream
...
Added test coverage for `pkg/stream` package
2024-07-11 15:09:54 +08:00
Shubham Singh
02ffb85487
Added test coverage for pkg/stream package
...
Signed-off-by: Shubham Singh <shubhammahar1306@gmail.com>
2024-07-09 21:09:25 +00:00
Shelley-BaoYue
6e5022c111
modification for k8s v1.29
...
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2024-07-08 19:50:52 +08: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
Shelley-BaoYue
95bc4f55be
update k8s version to 1.24
...
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2023-07-01 03:57:26 +08:00
dehaocheng
8bc26fcc6d
add kubectl attach code
...
Signed-off-by: dehaocheng <dehaocheng@kubesphere.io>
2023-04-25 17:43:45 +08:00
Shelley-BaoYue
ddcb948576
support kubectl attach
...
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
(cherry picked from commit 7cee5b0a6bb808575cbe4885a5d65ec2c0dbe717)
Signed-off-by: dehaocheng <dehaocheng@kubesphere.io>
2023-03-23 14:05:10 +08:00
vincentgoat
7f4e11115e
stream server painc if close channel wrongly
...
Signed-off-by: vincentgoat <linguohui1@huawei.com>
2023-01-14 17:30:25 +08:00
Fish-pro
47b565270b
Use errors.Is to check for a specific error
...
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-01-06 11:27:07 +08:00
snstaberah
3b93fe6ab5
fix typo single to signal
...
Signed-off-by: snstaberah <yangyonglc@inspur.com>
2022-09-02 16:15:55 +08:00
Vincent Lin
753578da7b
Merge pull request from GHSA-vwm6-qc77-v2rh
...
* fix invalid request
Signed-off-by: vincentgoat <linguohui1@huawei.com>
* fix CI issue
Signed-off-by: Kevin Wang <kevinwzf0126@gmail.com>
Co-authored-by: Kevin Wang <kevinwzf0126@gmail.com>
2022-07-11 21:08:37 +08:00
pengbinbin1
2f23ac33a0
move the constants into union file
...
Signed-off-by: pengbinbin1 <pengbiny@163.com>
2022-04-14 14:58:50 +08:00
KubeEdge Bot
f6a3e183fe
Merge pull request #3571 from lvfei103650/ft_updateNodeKubeletEndpoint
...
fix remove os.Exit in updateNodeKubeletEndpoint
2022-01-28 15:40:33 +08:00
fei.lv4
73bc38fb2c
fix remove os.Exit in updateNodeKubeletEndpoint
...
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
add edgestream catch errors and try to reconnect about update KubeletEndPoint failed.
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
fix review suggestion in #3571
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
fix format in cloudstream/tunnelserver.go
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
fix review suggestion
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
fix review suggestions
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
fix review suggestiones
Signed-off-by: fei.lv4 <fei.lv4@envision-digital.com>
fix remove os.Exit in updateNodeKubeletEndpoint
2022-01-28 11:34:23 +08:00
KubeEdge Bot
d17dc4a1d8
Merge pull request #3104 from gy95/log_optimization
...
log optimization modification: adjust log level, remove duplicate log
2022-01-22 12:23:28 +08:00
gy95
77862a90f6
log optimization modification: adjust log level, remove duplicate log
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2022-01-22 11:43:21 +08:00
gy95
bdfa27f019
replace deprecated package io/ioutil with packages io and os
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-12-11 14:53:30 +08:00
gy95
773b037ec6
remove duplicate SessionHostNameOverride constant
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-10-11 09:20:31 +08:00
KubeEdge Bot
4a870fc8aa
Merge pull request #3066 from zhuyaguang/master
...
Override spell error
2021-09-16 09:53:34 +08:00
zhuyaguang
6fd967584c
Override spell error
...
Signed-off-by: zhuyaguang <zhuyaguang1368@163.com>
2021-09-14 11:04:28 +08:00
xiaopeng han
ad106f02c7
revise based on comments
...
Signed-off-by: xiaopeng han <xiaopeng.han-iog@daocloud.io>
2021-09-07 16:39:05 +08:00
xiaopeng han
48e4d023bb
fix message format
...
Signed-off-by: xiaopeng han <xiaopeng.han-iog@daocloud.io>
2021-09-07 13:19:19 +08:00
gy95
cbbdd5436d
using http methods defined in net/http to replace string literals
...
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-07-24 14:18:31 +08:00
KubeEdge Bot
be825e5648
Merge pull request #2745 from wzshiming/fix/remove-connect
...
Fix RemoveConnect cannot cancel directly
2021-04-19 18:01:45 +08:00
Shiming Zhang
02ebb0933f
Compatible with SessionHostNameOveride
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-03-30 16:56:46 +08:00
Shiming Zhang
792df7ae63
Fix that RemoveConnect cannot directly trigger the
...
end of the connection and it must be triggered by
receiving a new message.
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-03-30 14:16:25 +08:00
Shiming Zhang
790c923d7f
Fix header SessionHostNameOverride typo
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-03-30 13:40:42 +08:00
Shiming Zhang
ef26abccda
Remove Msg WriteTo
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-03-24 11:04:42 +08:00
Shiming Zhang
6d9285d56c
Remove excess memory allocation
...
Signed-off-by: Shiming Zhang <wzshiming@foxmail.com>
2021-03-23 18:40:07 +08:00
Xiang Dai
65b5f8bb40
CI: enable gci linter
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-11-23 14:28:10 +08:00
GsssC
f01eeff7f4
upgrade klog@0.4.0 to klog/v2@2.2.0
2020-11-20 17:31:57 +08:00
Yin Ding
93e71613ae
upgrade to K8s 1.19.3
2020-10-29 14:33:00 -07:00
KubeEdge Bot
8ddd3a25a6
Merge pull request #2075 from daixiang0/exec
...
Support kubectl exec feature
2020-10-14 18:15:33 +08:00
Xiang Dai
fca51f4787
Fix edged log issue
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-10-12 14:55:59 +08:00
Xiang Dai
7bad0cc5ef
Support kubectl exec feature
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-10-12 09:44:12 +08:00
luogangyi
56b8194d84
avoid compression in tunnel
2020-09-04 17:13:15 +08:00
Poor12
0804a0970f
fix metrics
2020-06-11 16:21:54 +08:00
Xiang Dai
e001288990
cleanup all lint issue
...
Signed-off-by: Xiang Dai <long0dai@foxmail.com>
2020-05-21 16:54:02 +08:00
kadisi
f27eb297bc
support hostname and internal ip request
...
Signed-off-by: kadisi <iamkadisi@163.com>
2020-04-30 23:14:50 +08:00