summaryrefslogtreecommitdiff
path: root/cloud/pkg/devicecontroller/controller/downstream.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix the status reporting of device to avoid issues defined by twin.luomengY2024-04-191-0/+20
| | | | Signed-off-by: luomengY <2938893385@qq.com>
* update dmi server to get namespacewbc60802024-01-181-9/+10
| | | | Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
* change the function to generate resource idwbc60802024-01-091-10/+18
| | | | Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
* fix namespace problem in cloudcorewbc60802024-01-081-11/+12
| | | | Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
* Add a retry mechanism to solve situations where the device is deployed ↵luomengY2023-12-211-3/+18
| | | | | | before the devicemodel. Signed-off-by: luomengY <2938893385@qq.com>
* bugfix: device model synccl20172023-10-131-2/+33
| | | | Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
* device crd v1beta1 cloudcl20172023-09-221-692/+64
| | | | Signed-off-by: cl2017 <chenlin.liu@daocloud.io>
* fix typo and update commentsZhizhen He2023-08-251-1/+1
| | | | Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
* fix cijiawei2022-10-131-1/+0
| | | | | | Signed-off-by: jiawei <jiawei.liu@daocloud.io> Signed-off-by: jiawei <jiawei.liu@daocloud.io>
* No need for repeated operations DeviceModel Storejiawei2022-10-131-3/+2
| | | | Signed-off-by: jiawei <jiawei.liu@daocloud.io>
* add dmi api, proto, services, server and dmi module in devicetwinRyanZhaoXB2022-09-191-55/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix device twin UT and review comment. update device model crd. add mutex lock for MapperRegister add rate limiter for DMI server make dmiclients as a map and generate a new client when a new mapper registers update api.pb.go modify dmi client move deviceList to the server struct make DMIcache mv edge/pkg/apis/dmi to pkg/apis/dmi add some mutex and fix some comment optimized the v1alpha1 of DMI proto and add some comments update api.pb.go generate crd fix review comments Signed-off-by: RyanZhaoXB <zhaoran11@huawei.com>
* distribute device model to meta storageTianTianBigWang2022-09-191-0/+55
| | | | Signed-off-by: TianTianBigWang <zilong.wang@daocloud.io>
* refactor message layerx004255952022-03-291-5/+5
| | | | Signed-off-by: wackxu <xushiwei5@huawei.com>
* Merge pull request #3683 from gy95/move_apisKubeEdge Bot2022-03-141-2/+2
|\ | | | | Move apis and client under kubeedge/cloud/pkg/ to kubeedge/pkg/
| * Move apis and client under kubeedge/cloud/pkg/ to kubeedge/pkg/gy952022-03-111-2/+2
| | | | | | | | Signed-off-by: gy95 <guoyao17@huawei.com>
* | remove unused constantRyanZhaoXB2022-03-111-3/+0
|/ | | | Signed-off-by: RyanZhaoXB <zhaor_thu@163.com>
* Merge pull request #3330 from jidalong/device1to2KubeEdge Bot2021-11-221-2/+0
|\ | | | | delete useless device-v1alpha1 code while device is update to v1alpha2
| * delete useless device v1alpha1 code while device is update to v1alpha2jidalong2021-11-221-2/+0
| | | | | | | | Signed-off-by: jidalong <jidalong@cmss.chinamobile.com>
* | remove unused member variable of device DownstreamControllerjidalong2021-11-181-3/+0
|/ | | | Signed-off-by: jidalong <jidalong@cmss.chinamobile.com>
* Fix device does not exist in the downstream controller after it is addedTianTianBigWang2021-10-291-1/+1
| | | | Signed-off-by: TianTianBigWang <zilong.wang@daocloud.io>
* devicecontroller: fix dataProperties misplacedWayne Chan2021-08-311-6/+16
| | | | | | | add data section in device-profile-config-<edgenode> configmap, then mappers-go can parse dataProperties successfully Signed-off-by: Wayne Chan <waynechan76@gmail.com>
* to avoid update cm after created a new cmhuangpengtao2021-06-171-3/+6
| | | | | | to check "not found" error Signed-off-by: huangpengtao <huangpengtao@kingsoft.com>
* cloud: fix the warning log for printing object typeIceber Gu2021-03-211-2/+2
| | | | Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
* remove cache when configmap not found from k8sguanzuoyu2021-02-231-3/+5
| | | | Signed-off-by: guanzuoyu <guanzuoyudev@gmail.com>
* delete useless codegy952021-01-281-2/+0
| | | | Signed-off-by: gy95 <guoyao17@huawei.com>
* refactor k8s and crd client in devicecontrollerxufei 004169462021-01-151-23/+7
| | | | Signed-off-by: fisherxu <xufei40@huawei.com>
* Merge pull request #2360 from wuqihui0317/updateDeviceBugKubeEdge Bot2020-11-251-4/+10
|\ | | | | fix a bug of device update
| * fix a bug of device updatewuqihui03172020-11-241-4/+10
| |
* | Unify use google uuid libraryXiang Dai2020-11-241-4/+4
|/ | | | Signed-off-by: Xiang Dai <long0dai@foxmail.com>
* upgrade klog@0.4.0 to klog/v2@2.2.0GsssC2020-11-201-1/+1
|
* fix a bug of device data typewuqihui03172020-10-301-5/+5
|
* fix missing protocol common config updateluogangyi2020-10-211-0/+2
|
* Merge pull request #1721 from daixiang0/enable-errcheckKubeEdge Bot2020-09-151-1/+4
|\ | | | | Lint: enable errcheck linter
| * Lint: fix errcheck issueXiang Dai2020-09-081-1/+4
| | | | | | | | Signed-off-by: Xiang Dai <long0dai@foxmail.com>
* | put all module name and module group in one placeZYZ2020-09-101-3/+4
|/
* Lint: fix formats etc.Yin Ding2020-08-031-2/+1
|
* Update upstream dependency to K8s 1.18.5Rio Zhu2020-08-031-7/+8
| | | | | | | | | | | | | | | Co-authored-by: Yin Ding <dingyin@gmail.com> Co-authored-by: Rio Zhu <32083634+zzxgzgz@users.noreply.github.com> * Updated k8s to 1.18.5 and modified code around API changes. * Updated kube-scheduler dependency. * added filed ExperimentalTopologyManagerPolicy to matched the upgraded k8s * Changed some dependencies' versions to x.18.0 * Added function to start cpu manager in clcm.
* Merge pull request #2014 from luogangyi/extend-property-typesKubeEdge Bot2020-08-031-2/+27
|\ | | | | extend property types
| * extend property typesluogangyi2020-08-021-2/+27
| |
* | Give the capacity of slice and mapdddddai2020-07-311-2/+2
|/
* Merge pull request #1790 from luogangyi/implement-device-management-enhanceKubeEdge Bot2020-07-241-93/+128
|\ | | | | Implement device management enhance
| * enhance on device protocol configluogangyi2020-07-201-16/+12
| |
| * move data section from top level into Spec sectionluogangyi2020-07-191-5/+5
| |
| * upgrade device api from v1alpha1 to v1alpha2luogangyi2020-07-181-34/+34
| |
| * re-org device model and device instanceluogangyi2020-07-161-20/+16
| |
| * add data sectionluogangyi2020-07-161-24/+52
| |
| * add customized protocol supportluogangyi2020-07-161-6/+19
| |
| * add reportCycle and collectCycle in property vistorluogangyi2020-07-161-0/+2
| |
* | Fix device configMap can not be deletedXiang Dai2020-07-211-2/+4
|/ | | | Signed-off-by: Xiang Dai <long0dai@foxmail.com>
* enable gosimple linterXiang Dai2020-05-231-2/+2
| | | | Signed-off-by: Xiang Dai <long0dai@foxmail.com>