Compare commits

...

299 Commits
v0.3.1 ... main

Author SHA1 Message Date
KubeEdge Bot 8f900d6148
Merge pull request #475 from tangming1996/bugfix/workflow
update workfow actions from v2 to v4
2025-03-06 19:16:47 +08:00
ming.tang 67166a576f update workfow actions from v2 to v4
Signed-off-by: ming.tang <ming.tang@daocloud.io>
2025-03-06 14:32:13 +08:00
KubeEdge Bot eaed7da6ec
Merge pull request #472 from tangming1996/bugfix/crd-update-helm
fix helm crd can not generete error
2025-03-03 18:50:45 +08:00
ming.tang 11600c6f00 fix helm crd can not generete error
Signed-off-by: ming.tang <ming.tang@daocloud.io>
2025-02-21 10:04:41 +08:00
KubeEdge Bot 150cc1a968
Merge pull request #467 from tangming1996/bugfix/federal-learning
fix FederatedLearningJob delete error
2025-02-20 19:18:34 +08:00
KubeEdge Bot d234200db5
Merge pull request #465 from tangming1996/feature/hpa-implement
feature: hpa for jointinference
2025-02-20 19:14:34 +08:00
ming.tang bff8fd491e fix FederatedLearningJob delete error
Signed-off-by: ming.tang <ming.tang@daocloud.io>
2025-02-14 16:15:07 +08:00
ming.tang 27cc953a0f feature: hpa for jointinference
Signed-off-by: ming.tang <ming.tang@daocloud.io>
2025-02-14 10:59:40 +08:00
KubeEdge Bot b9f4d9d3ee
Merge pull request #462 from WillardHu/upgrade-k8s-and-go
Upgrade K8s and Go versions
2025-02-13 17:33:27 +08:00
WillardHu 67f623b401 Bump up the Ubuntu and controller-gen versions to be consistent with KubeEdge
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-02-07 11:06:45 +08:00
WillardHu 86cf2b8d2c Solved the vendor check to fail
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-01-17 11:40:40 +08:00
WillardHu c15570ede0 Update client generation tools, remove k8s dependency, fix lint issues
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-01-17 11:40:40 +08:00
WillardHu f5f870cccd Update vendor licenses
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-01-17 10:50:22 +08:00
WillardHu 495553403d Update go vendors
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-01-17 10:48:45 +08:00
WillardHu 22e479be48 Upgrade K8s and Go versions
Signed-off-by: WillardHu <wei.hu@daocloud.io>
2025-01-17 10:44:29 +08:00
KubeEdge Bot 8a4e24b847
Merge pull request #460 from MooreZheng/main
update reviewers
2025-01-08 09:36:15 +08:00
MooreZheng 2ce0ebca89
update owners
Signed-off-by: MooreZheng <zimu.zheng@hotmail.com>
2025-01-07 20:10:17 +08:00
KubeEdge Bot 2f439627f8
Merge pull request #441 from FuryMartin/patch-1
Update uvicorn's version in `lib/requirements.txt` to fix installation issue with latest `pip`
2024-12-27 18:07:04 +08:00
KubeEdge Bot 6f0b2a4e8a
Merge pull request #457 from ajie65/docs/hpa-proposal
[LFX'24] Add Sedna Joint inference HPA Proposal
2024-11-28 18:29:35 +08:00
KubeEdge Bot 01351c51aa
Merge pull request #455 from Electronic-Waste/doc/proposal
[LFX'24] Add Sedna Federated Learning v2 Proposal.
2024-11-22 10:08:29 +08:00
Electronic-Waste 8a6c5e7501 fix: data-centric scheduling.
Signed-off-by: Electronic-Waste <2690692950@qq.com>
2024-11-21 15:28:11 +00:00
huang qi jie dc6e801ba4 [LFX'24] Add Sedna Joint inference HPA Proposal
Signed-off-by: huang qi jie <huangqijie@gmail.com>
2024-11-14 13:48:55 +08:00
Electronic-Waste 4ba8fb7c83 feat: add sedna federated learning v2 proposal.
Signed-off-by: Electronic-Waste <2690692950@qq.com>
2024-11-04 16:20:46 +00:00
KubeEdge Bot 7cce21963a
Merge pull request #438 from SherlockShemol/sedna-controller-enhancement
update sedna controller (jointinference and federatedlearning controller) enhancement proposal
2024-10-30 20:48:08 +08:00
KubeEdge Bot 712b62b7bf
Merge pull request #446 from SherlockShemol/fl-controller-enhancement
Sedna FederatedLearning controller enhancement
2024-10-30 20:47:08 +08:00
KubeEdge Bot cabab5f1d8
Merge pull request #445 from SherlockShemol/ji-controller-enhancement
JointInferenceService controller enhancement
2024-10-30 20:46:07 +08:00
SherlockShemol bfa3a65b2a enhance joint inference controller.improve the cascade deletion.Create a Deployment resource instead of a Pod resource, and let the Deployment controller manage the number of Pods.automatically update deployment when modifying CRD of joint inference.add a test file to ensure the correctness of joint inference controller.
Signed-off-by: SherlockShemol <shemol@163.com>
2024-10-30 09:42:25 +08:00
SherlockShemol 72fba6695c update sedna controller (jointinference and federatedlearning controller) enhancement proposal
Signed-off-by: SherlockShemol <shemol@163.com>
2024-10-28 18:52:08 +08:00
SherlockShemol b37522ebe0 enhance federated learning controller. \n 1.improve the cascade deletion of federated learning cotroller. \n 2.enable federated learning pod to rebuild itself if it is manually or wrongly deleted. \n 3.enable self updating pod config when modifying CRD of federated learning. \n 4.add test file to ensure the correctness of the solution.
Signed-off-by: SherlockShemol <shemol@163.com>
2024-10-24 22:31:42 +08:00
KubeEdge Bot 3342955521
Merge pull request #443 from tangming1996/fix/objectsearch
fix objectsearch bug of joint delete
2024-09-13 17:35:22 +08:00
ming.tang c19e6c949c fix objectsearch bug of joint delete
Signed-off-by: ming.tang <ming.tang@daocloud.io>
2024-09-12 10:10:00 +08:00
FuryMartin 46bb74a265 Update requirements.txt
Signed-off-by: Yu Fan <fany@buaa.edu.cn>
2024-08-15 21:05:15 +08:00
KubeEdge Bot 2ecc30d821
Merge pull request #437 from SherlockShemol/sedna-controller-enhancement
proposal - Sedna controller enhancement
2024-08-13 11:46:24 +08:00
shemol f75ebbe37d proposal-sedna controller enhancement: fix JointInferenceService owner reference
correct the owner reference of joint inference objects

Signed-off-by: shemol <shemol@163.com>
2024-08-07 13:16:27 +08:00
shemol b510706e78 proposal-sedna controller enhancement
Submit a first draft of proposal of sedna controller enhancement

Signed-off-by: shemol <shemol@163.com>
2024-08-07 13:16:03 +08:00
KubeEdge Bot ac623ab32d
Merge pull request #426 from wbc6080/fix-slack
fix slack url
2023-12-11 15:56:53 +08:00
KubeEdge Bot 681bdd2740
Merge pull request #420 from tangming1996/fix/develop
Fixed helm installation failure
2023-12-11 15:55:54 +08:00
wbc6080 465f325af7 fix slack url
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
2023-12-07 11:10:43 +08:00
ming.tang 5ad27aaa7e Fixed helm installation failure
Signed-off-by: ming.tang <ming.tang@daocloud.io>
2023-11-08 16:50:24 +08:00
KubeEdge Bot b8ec263422
Merge pull request #417 from Shelley-BaoYue/main
update CoC, point to kubeedge/community/CODE_OF_CONDUCT.md
2023-09-20 20:21:46 +08:00
Shelley-BaoYue 807c36eaa8 update CoC
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
2023-09-06 14:29:33 +08:00
KubeEdge Bot 23dfbaaae9
Merge pull request #412 from tangming1996/main
update doc
2023-08-16 09:18:13 +08:00
KubeEdge Bot 174273d9a1
Merge pull request #379 from Lj1ang/Mindspore-Demo
two missing line in mindspore backend
2023-07-29 14:37:09 +08:00
ming.tang c6bcee7197 update doc
Signed-off-by: ming.tang <ming.tang@daocloud.io>
2023-07-04 17:46:26 +08:00
KubeEdge Bot 3e8de61074
Merge pull request #406 from jaypume/feature-knowledge-base
Support showing knowledge base
2023-06-13 12:06:32 +08:00
Jie Pu 6753b229eb update generated crd code and fix ci
Signed-off-by: Jie Pu <i@jaypu.com>
2023-06-13 11:33:57 +08:00
Jie Pu 0e43075c44 Support showing knowledge base in crd status field
Signed-off-by: Jie Pu <i@jaypu.com>
2023-06-12 17:17:45 +08:00
Jie Pu f996a835a6 Add autogen code based on types.go
Signed-off-by: Jie Pu <i@jaypu.com>
2023-06-12 17:17:45 +08:00
Jie Pu e1c920ac00 Add knowledge base types definition
Signed-off-by: Jie Pu <i@jaypu.com>
2023-06-12 17:17:45 +08:00
KubeEdge Bot dad820306d
Merge pull request #410 from jaypume/fix-ci
Fix ci e2e running failed issue.
2023-06-09 18:40:05 +08:00
Jie Pu 7b8ea94635 Fix kind version to v0.18.0
Signed-off-by: Jie Pu <i@jaypu.com>
2023-06-09 18:09:27 +08:00
KubeEdge Bot b6fbf1f0b1
Merge pull request #405 from qxygxt/main
Tutorial for ATCII Lifelong Learning Job
2023-05-04 17:16:05 +08:00
qxygxt 5d96245357 a tutorial based on atcii lifelong learning job
Signed-off-by: qxygxt <xingyu.q@outlook.com>
2023-04-20 20:46:04 +08:00
KubeEdge Bot 0197964b2b
Merge pull request #391 from luosiqi/proposal
Proposal and tutorial of unstructured lifelong learning
2023-04-18 16:02:50 +08:00
KubeEdge Bot f7cbd56fdf
Merge pull request #402 from jaypume/update-owners
Update Owners
2023-04-14 19:36:46 +08:00
Jie Pu 087f0cafb2 Update Owners
Signed-off-by: Jie Pu <pujie2@huawei.com>
2023-04-14 18:53:27 +08:00
KubeEdge Bot 2a003ec7ca
Merge pull request #392 from luosiqi/main
Unstructured Sedna Lifelong Learning Architecture
2023-03-31 10:58:34 +08:00
SiqiLuo 9b4bfcc260 Modify docker image address of unstructured lifelong learning in Readme
Signed-off-by: SiqiLuo <1587295470@qq.com>
2023-03-31 10:07:04 +08:00
SiqiLuo 7750093afb Improve tutorial of unstructured lifelong learning
Signed-off-by: SiqiLuo <1587295470@qq.com>
2023-03-30 17:26:36 +08:00
SiqiLuo c5cf783d96 Conduct code check and improve docs of unstructured lifelong learning
Signed-off-by: SiqiLuo <1587295470@qq.com>
2023-03-30 16:18:56 +08:00
SiqiLuo 5dce8ff69e Add base class for all the algorithm modules of unstructured lifelong learning
Signed-off-by: SiqiLuo <1587295470@qq.com>
2023-03-30 16:18:31 +08:00
SiqiLuo a4b1069edb Improve base model codes of unstructured lifelong learning, i.e., RFNet
Signed-off-by: SiqiLuo <1587295470@qq.com>
2023-03-30 16:17:44 +08:00
SiqiLuo ab977a3068 proposal of unstructured lifelong learning
Signed-off-by: luosiqi <1587295470@qq.com>
Signed-off-by: SiqiLuo <1587295470@qq.com>
2023-03-29 19:50:08 +08:00
KubeEdge Bot c763c1a90e
Merge pull request #385 from RyanZhaoXB/install-dev
update the path of installation document in README.md
2023-03-03 15:42:47 +08:00
KubeEdge Bot e036f48c40
Merge pull request #394 from RyanZhaoXB/install-link-fix
wrong url in document
2023-02-13 14:15:31 +08:00
Ryan dbb59745b5 update quickstart.md and fix the wrong url
Signed-off-by: Ryan <zhaoran11@huawei.com>
2023-02-02 17:50:10 +08:00
SiqiLuo 0d465d46d8 Improve proposal of unstructure lifelong learning
Signed-off-by: SiqiLuo <1587295470@qq.com>
2023-01-18 11:41:11 +08:00
SiqiLuo 2ea525a225 proposal of lifelong learning
Signed-off-by: SiqiLuo <1587295470@qq.com>
2023-01-18 10:31:05 +08:00
KubeEdge Bot 1cddd17ef2
Merge pull request #382 from luosiqi/main
Unstructured lifelong learning with cloud robotics example
2022-12-29 14:34:21 +08:00
SiqiLuo 5f117132d5 Code review and done
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-28 16:06:02 +08:00
SiqiLuo f6f67fd492 Code check and reduce too long characters
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-28 15:58:16 +08:00
SiqiLuo 4bab19a78d Code review
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-28 15:45:22 +08:00
SiqiLuo 8f1f777b5d Code check and fix
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-28 15:17:50 +08:00
SiqiLuo f961fa7476 Remove unneccessary files
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-28 10:04:35 +08:00
SiqiLuo 22487aa1ea Code review and modify for docs
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-28 09:47:53 +08:00
SiqiLuo a97594e3d7 Remove sensitive messages
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-26 15:38:49 +08:00
SiqiLuo 7524867eff code review and modify
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-26 15:37:19 +08:00
SiqiLuo 01d3db0b12 code review for open source
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-26 15:32:52 +08:00
SiqiLuo 885fe68e16 fixed robo skills
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-20 12:16:33 +08:00
Ryan 8152ba4734 update the path of installation document in README.md
Signed-off-by: Ryan <zhaoran11@huawei.com>
2022-12-15 15:39:00 +08:00
SiqiLuo 439fd31911 unstructured lifelong learning
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-08 15:38:06 +08:00
SiqiLuo 45a3afe05b First commit
Signed-off-by: SiqiLuo <1587295470@qq.com>
2022-12-08 15:30:57 +08:00
Lj1ang d212587b2b two missing line for mindspore backend
Signed-off-by: Lj1ang <2872509481@qq.com>
2022-11-13 18:50:54 +08:00
KubeEdge Bot ebfdbfa7f5
Merge pull request #341 from Lj1ang/TinyMS-Support-and-Demos
[OSPP]The proposal for TinyMS support in Python SDK
2022-11-01 00:13:47 +08:00
KubeEdge Bot d1cf42c7e5
Merge pull request #368 from Ymh13383894400/main
Build a high-frequency Sedna-based end-to-end use case in ModelBox fo…
2022-10-31 23:10:48 +08:00
Ymh13383894400 104d80e80d build high frequency sedna example with modelbox
Signed-off-by: Ymh13383894400 <1431605505@qq.com>
2022-10-31 23:03:35 +08:00
KubeEdge Bot 306080d6e1
Merge pull request #375 from yqhok1/main
Add JSON data parse
2022-10-31 14:49:48 +08:00
KubeEdge Bot 44efe5c4cc
Merge pull request #376 from Lj1ang/Mindspore-Demo
[OSPP]Mindspore demo
2022-10-31 14:10:47 +08:00
York You c5d7ace6a6
Add JSON data parse
Signed-off-by: York You <573861119@qq.com>
2022-10-31 11:00:38 +08:00
KubeEdge Bot 1f219ac38f
Merge pull request #369 from wjf222/wjf_ospp_final
ospp Lifelong Learning exporter and Visualization
2022-10-30 10:27:47 +08:00
KubeEdge Bot 871561fdee
Merge pull request #366 from Kanakami/implementation
[OSPP] The implementation for Observability management
2022-10-30 10:26:46 +08:00
Lj1ang e72ad41a44 perfection of README
Signed-off-by: Lj1ang <2872509481@qq.com>
2022-10-28 16:52:13 +08:00
Lj1ang 941656862e Mindspore demo:dog croissants classification
Signed-off-by: Lj1ang <2872509481@qq.com>
2022-10-28 15:04:50 +08:00
Lj1ang 9b7071b967 Mindspore Demo can run locally
Signed-off-by: Lj1ang <2872509481@qq.com>
2022-10-28 15:04:50 +08:00
Kanakami 4bd048c66b implementation for observability management
Signed-off-by: Kanakami <979466793@qq.com>
2022-10-28 14:19:21 +08:00
Lj1ang 702fb8cfe6 The proposal for TinyMS support in Python SDK
Signed-off-by: Lj1ang <2872509481@qq.com>
2022-10-28 13:39:56 +08:00
wjf a73929c778 ospp Lifelong Learning exporter and Visualization
Signed-off-by: wjf <1287290237@qq.com>
2022-10-27 11:21:25 +08:00
KubeEdge Bot 085ad09e22
Merge pull request #373 from JimmyYang20/main
Add components folder
2022-10-25 11:20:42 +08:00
JimmyYang20 48ec100bbe Add components folder
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-10-25 11:12:13 +08:00
KubeEdge Bot 99df0079e6
Merge pull request #335 from wjf222/wjf-OSPP-proposal
[OSPP] The proposal for Lifelong Learning O&M
2022-10-25 10:06:42 +08:00
wjf f7fa09c70c add the custom metrics
Signed-off-by: wjf <1287290237@qq.com>
2022-10-19 10:15:12 +08:00
KubeEdge Bot 5c796fded5
Merge pull request #340 from Kanakami/main
[OSPP] The proposal for Observability management
2022-10-18 10:56:35 +08:00
Kanakami 1633dd851f remove training hyperparameters and extract task basic metrics
Signed-off-by: Kanakami <979466793@qq.com>
2022-08-20 18:54:57 +08:00
wjf222 a83c5a06e8 Add algorithm metrics
Signed-off-by: wjf222 <jffwang@qq.com>
2022-08-18 21:17:40 +08:00
wjf222 5759e74d63 [OSPP] The proposal for Lifelong Learning O&M
Signed-off-by: wjf222 <jffwang@qq.com>
2022-08-17 22:10:52 +08:00
Kanakami ce2bf33515 update catalogue and architecture image
Signed-off-by: Kanakami <979466793@qq.com>
2022-08-17 22:08:31 +08:00
Kanakami 7ba9568bd4 add common system metrics and algorithm metrics
Signed-off-by: Kanakami <979466793@qq.com>
2022-08-16 22:48:17 +08:00
Kanakami 89a9a2e19c Add observability management proposal
Signed-off-by: Kanakami <979466793@qq.com>
2022-08-16 21:07:22 +08:00
KubeEdge Bot 101190519d
Merge pull request #338 from JimmyYang20/ci-pylint
Add check pylint script
2022-08-15 10:18:48 +08:00
JimmyYang20 81f08ca20c Add check pylint script
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-08-15 09:44:27 +08:00
KubeEdge Bot b91cfb9422
Merge pull request #345 from JimmyYang20/robot
Add key envs for train worker in LL
2022-08-12 16:57:45 +08:00
KubeEdge Bot 62fbd51aa7
Merge pull request #348 from JimmyYang20/fix-kb
Fix bug: pods can not connect to kb in LL
2022-08-12 14:32:45 +08:00
JimmyYang20 c74d18ec23 Fix bug: pods can not connect to kb in LL
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-08-12 11:12:33 +08:00
JimmyYang20 f3bcc6166c Add key envs for train worker
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-08-11 17:58:42 +08:00
KubeEdge Bot 9d27e67fe9
Merge pull request #346 from JimmyYang20/fix-ci
Fix the bug: download cc multiple times in buildx
2022-08-11 14:26:44 +08:00
JimmyYang20 08f29d346d Fix the bug: download cc multiple times in buildx
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-08-11 09:37:31 +08:00
KubeEdge Bot 0bce300839
Merge pull request #343 from JimmyYang20/robot
LL: initial container can download label file
2022-08-09 14:50:42 +08:00
JimmyYang20 6f4b1f6896 LL: initial container can download label file
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-08-03 21:50:15 +08:00
KubeEdge Bot b317015f05
Merge pull request #332 from jaypume/bugfix-kb
Fix kb not starting normally after installation
2022-07-20 10:57:11 +08:00
Jie Pu 602cfb0c4e Fix kb not starting normally after installation
Signed-off-by: Jie Pu <pujie2@huawei.com>
2022-07-20 10:42:02 +08:00
KubeEdge Bot f6909d3c96
Merge pull request #331 from JimmyYang20/fix-e2e
Update e2e test script
2022-07-20 10:02:11 +08:00
JimmyYang20 1ba45c407f Update e2e test script
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-07-20 09:43:43 +08:00
KubeEdge Bot 778a2caf1e
Merge pull request #327 from vcozzolino/bug-321
Move algorithm-specific dependencies into class definition (optical flow)
2022-07-14 14:44:06 +08:00
Vittorio Cozzolino 6add56d7b9 Move algorithm-specific dependencies into class definition (optical flow).
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Code linting.

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Move numpy import to module level.

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Add opencv-python to requirements.dev
2022-06-27 11:36:13 +02:00
KubeEdge Bot 946f92a9d4
Merge pull request #325 from vcozzolino/bug-324
Fix regression bug in JobBase class.
2022-06-21 15:11:04 +08:00
Vittorio Cozzolino 92f83fc3fc Fix code regression in JobBase class.
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-15 13:32:17 +02:00
KubeEdge Bot 7d5aa0f2d0
Merge pull request #319 from vcozzolino/feature-reid
Add missed files in ReID feature merge and fix Docker images name.
2022-06-10 17:38:44 +08:00
Vittorio Cozzolino 3ec92742f8 Update Docker images name for multiedgeinference components.
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-09 13:53:18 +02:00
Vittorio Cozzolino ba8a5ea9a4 Code linting.
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-07 09:36:43 +02:00
Vittorio Cozzolino d23db79889 Add missed files to support the creation of a deployment and injection of relative env variables.
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-02 16:38:29 +02:00
KubeEdge Bot 7ead477284
Merge pull request #318 from jaypume/docs
Add MultiEdgeInference example to main page
2022-06-02 18:03:35 +08:00
Jie Pu ff4c17fa1d Add MultiEdgeInference example to main page
Signed-off-by: Jie Pu <pujie2@huawei.com>
2022-06-02 18:00:18 +08:00
KubeEdge Bot 75e66ca576
Merge pull request #315 from JimmyYang20/il-compute
IL supports multipile device soc versions
2022-06-02 17:40:34 +08:00
KubeEdge Bot c0e76f50e3
Merge pull request #313 from hey-kong/main
update DirectoryorCreate to DirectoryOrCreate
2022-06-02 17:39:35 +08:00
KubeEdge Bot 7fe830a62b
Merge pull request #314 from jaypume/feature-reid-proposal
Add Multi Edge Inference feature proposal
2022-06-02 17:37:35 +08:00
KubeEdge Bot 0d2718b133
Merge pull request #297 from Poorunga/helm-dev
Add sedna installation helm charts
2022-06-02 17:10:35 +08:00
Jie Pu e6dfebf0ff Add Multi Edge Inference feature proposal
Signed-off-by: Jie Pu <pujie2@huawei.com>
2022-06-02 16:29:20 +08:00
KubeEdge Bot c2cfc6f4d8
Merge pull request #311 from vcozzolino/feature-reid
ReID to Search for an Infected COVID-19 Carrier in Pandemic Scenarios
2022-06-02 09:02:34 +08:00
soumajm 2e3cef9197 Add Licenses.
Signed-off-by: Soumajit Majumder <sm176357@outlook.com>
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:38:58 +02:00
Vittorio Cozzolino c01f9ae189 Code Linting
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Code linting pt 1

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Code linting pt2

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Code Linting pt. 3

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Address review comments.

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Code linting pt5

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Code linting pt6

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:38:58 +02:00
Vittorio Cozzolino 9631ec7f5b Minor fix about generated files and readme
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Update build_image.sh
Update registered.py
Add link to download the yolox and m3l models.
Upload generated deepcopy files.
Remove unused fields from modelspec.
Minor edit in featureextraction controller.
Fix spelling error in controller

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:27:04 +02:00
Vittorio Cozzolino 5055543652 Reorganize folder structure of multiedgetracking.
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>

Reorganize folder structure of multiedgetracking.
Remove sync function with edge for multiedgertacking controllers (not used currently).
Edit README.md and Dockerfiles.
Remove some explicit parameters from YAML files (use default value).
Add empty line at the end of the YAML and Python files.
Add comments to the multiedgeinference code.
Minor edits to the run.sh script.
Update Docker image version number in YAML files.

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:27:03 +02:00
Jie Pu a51d0b1c79 Add generated MultiEdgeInference crd yaml
Signed-off-by: Jie Pu <pujie2@huawei.com>
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:27:03 +02:00
soumajm c86c91c961 Remove redundant variables in Yolox
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:27:03 +02:00
Vittorio Cozzolino 90dee7f945 Remove PVC mount from feature extraction.
Signed-off-by: Vittorio Cozzolino<vittorio.cozzolino@huawei.com>

Enhance tutorial and run script.
Add link to download a sample video and query images.
Have same folder structure between pods and host (for NFS).

Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:27:03 +02:00
soumajm f14cd290b0 Minor fixes in README.md
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:27:03 +02:00
Vittorio Cozzolino 37a39fda1f Pedestrian ReID for COVID19 scenarios
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:27:03 +02:00
Vittorio Cozzolino 9a09dc6acb Add missing codegen files.
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:27:03 +02:00
Jie Pu 71e69ef896 Add MultiEdgeInference CRD Definition.
Signed-off-by: Jie Pu <pujie2@huawei.com>
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2022-06-01 12:27:03 +02:00
JimmyYang20 f58213fcd5 IL supports multipile device soc versions
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-05-27 18:32:55 +08:00
Iggie Wang e5e80ccf15
Merge branch 'kubeedge:main' into main 2022-05-25 14:36:59 +08:00
KubeEdge Bot c7fa931791
Merge pull request #287 from JimmyYang20/fixbug-lifelong
LL: support schedule workers on multi-nodes
2022-05-24 21:12:24 +08:00
JimmyYang20 104943df3b LL: support schedule workers on multi-nodes
worker's spec supports nodeName and nodeSelector

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-05-24 17:39:55 +08:00
KubeEdge Bot cec574f6cc
Merge pull request #283 from JimmyYang20/fixbug-il
Fix downstream bug in IL
2022-05-24 17:01:24 +08:00
hey-kong 5a39c7ed1b update DirectoryorCreate to DirectoryOrCreate
Signed-off-by: hey-kong <iggiewang@gmail.com>
2022-05-13 16:12:53 +08:00
KubeEdge Bot 62685c245b
Merge pull request #291 from JimmyYang20/fixbug-install
Fixbug: cloud node cannot connect k8s apiservice in allinone
2022-05-11 16:54:12 +08:00
Poorunga 748d5b5695 sedna installation helm charts
Signed-off-by: Poorunga <2744323@qq.com>
2022-04-01 15:29:00 +08:00
JimmyYang20 7bda1fda0c Fixbug: cloud node cannot connect k8s apiservice
master node also needs edgemesh agent for communication of apiservice

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-03-24 10:46:24 +08:00
JimmyYang20 45e868be2f Update vendor and LICENSE
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-03-20 23:22:09 +08:00
JimmyYang20 700d1697dd Fix downstream bug in IL
bug: after deleting dataset, the event of deleting job can not be sent to LC.

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-03-20 19:23:27 +08:00
KubeEdge Bot 527c574a60
Merge pull request #282 from JimmyYang20/fixbug-lc
Fixbug: db path has missed the mount volume prefix in LC
2022-03-16 19:47:56 +08:00
KubeEdge Bot ab20013557
Merge pull request #281 from JimmyYang20/fixbug-install
Fix all-in-one doc
2022-03-16 19:46:57 +08:00
JimmyYang20 7310b7b253 Fixbug: db path has missed the mount volume prefix in LC
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-03-16 15:58:41 +08:00
JimmyYang20 71e9ad3e15 Fix all-in-one doc
1.recommend to use the stable version v1.8.0 of kubeedge
2.add "clean all-in-one Sedna" in doc

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2022-03-16 11:44:51 +08:00
KubeEdge Bot 449a6d8423
Merge pull request #271 from haiker2011/feat/add-pr-template
add pr template.
2022-02-14 16:45:50 +08:00
KubeEdge Bot 7dc675d5b1
Merge pull request #270 from haiker2011/feat/period-config
make min resync period configurable
2022-02-14 16:44:51 +08:00
sunhaizhou c6b899a7b2 add pr template.
Signed-off-by: sunhaizhou <sunhaizhou@kingsoft.com>
2022-02-11 12:08:43 +08:00
sunhaizhou c9fa5288fb make min resync period configurable
Signed-off-by: sunhaizhou <sunhaizhou@kingsoft.com>
2022-02-11 12:05:38 +08:00
KubeEdge Bot b30b98eecd
Merge pull request #240 from jaypume/bug_fix
Fix the wrong uvicorn version in sedna lib
2022-01-18 10:15:25 +08:00
KubeEdge Bot 397b5e51a1
Merge pull request #233 from jaypume/docs
fix docs: index and quickstart
2021-12-31 16:39:08 +08:00
KubeEdge Bot f3e0c17a5e
Merge pull request #253 from llhuii/allinone-add-edgemsh
all-in-one: add edgemesh installation
2021-12-17 09:24:54 +08:00
llhuii b2d2707489 all-in-one: add edgemesh installation
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-12-16 16:11:45 +08:00
KubeEdge Bot 5e329dec58
Merge pull request #255 from llhuii/upgrade-to-go1.16
Upgrade golang from 1.14 to 1.16
2021-12-15 10:57:52 +08:00
llhuii b6444031f5 Upgrade golang from 1.14 to 1.16
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-12-13 16:39:58 +08:00
KubeEdge Bot 5b0afad5e8
Merge pull request #247 from llhuii/fix-allinone
installation: allow *_VERSION passing without `v`
2021-12-02 09:40:38 +08:00
llhuii 18020ea042 installation: allow *_VERSION passing without v
Allow users passing *_VERSION without `v` like `0.4.1`

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-12-01 10:45:29 +08:00
KubeEdge Bot 3b9cef09fc
Merge pull request #249 from xujingjing-cmss/patch2
fix grammar error in globalmanager module
2021-12-01 09:21:37 +08:00
xujingjing d1cc116be7 fix grammar error in globalmanager module
Signed-off-by: xujingjing <xujingjing_yw@cmss.chinamobile.com>
2021-11-29 18:28:36 +08:00
KubeEdge Bot facde69f72
Merge pull request #248 from xujingjing-cmss/patch1
fix grammar error in api module
2021-11-29 16:58:36 +08:00
xujingjing acfc6d291d fix grammar error in api module
Signed-off-by: xujingjing <xujingjing_yw@cmss.chinamobile.com>
2021-11-29 13:46:39 +08:00
KubeEdge Bot 710c2a3e7f
Merge pull request #243 from llhuii/fix-example-image-prefix
examples: fix the image name prefix
2021-11-22 14:24:22 +08:00
llhuii f4ca2ff656 examples: fix the image name prefix
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-11-22 10:58:53 +08:00
KubeEdge Bot 5a08bcb705
Merge pull request #242 from JimmyYang20/fixbug-1
IL: decouple eval task and deploy task
2021-11-22 10:46:22 +08:00
JimmyYang20 5bf70e60ef IL: decouple eval task and deploy task
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-11-22 10:18:34 +08:00
KubeEdge Bot 3d7c041749
Merge pull request #237 from JimmyYang20/fixbug
Fix IL bug: job misses first data when reads data.
2021-11-18 17:51:18 +08:00
KubeEdge Bot 31812f8198
Merge pull request #230 from llhuii/docker-buildx-speed
buildx: speed the language having builtin build
2021-11-18 17:50:18 +08:00
KubeEdge Bot c0dc5d8557
Merge pull request #239 from JimmyYang20/fixbug-2
Fix IL bug: TrainTriggerStatus used in eval task
2021-11-18 17:40:18 +08:00
Jie Pu 9ffcede642 Fix the wrong uvicorn version in sedna lib
Signed-off-by: Jie Pu <i@jaypu.com>
2021-11-16 21:00:22 +08:00
JimmyYang20 9da7acbd2a Fix IL bug: job misses first data when reads data.
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-11-16 16:52:49 +08:00
JimmyYang20 8e7122db56 Fix IL bug: TrainTriggerStatus used in eval task
need to chenge TrainTriggerStatus to EvalTriggerStatus

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-11-16 16:04:25 +08:00
Jie Pu 8683997018 docs update: index and quickstart
Signed-off-by: Jie Pu <i@jaypu.com>
2021-11-12 23:31:41 +08:00
KubeEdge Bot 404fed4e23
Merge pull request #232 from llhuii/upgrade-k8s-v1.21.4
Upgrade K8S to v1.21.4
2021-11-12 09:19:11 +08:00
Jie Pu cc08c26299 fix docs: index and quickstart
Signed-off-by: Jie Pu <i@jaypu.com>
2021-11-10 21:33:27 +08:00
KubeEdge Bot 1d0f39ba3f
Merge pull request #178 from JoeyHwong-gk/docs
Update docs: add lib development guide
2021-11-09 15:08:09 +08:00
llhuii 0953a4d9fd hack: add upgrade-k8s.sh to upgrade Kubernetes
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-11-08 10:21:08 +08:00
llhuii ffa7ebb485 Upgrade K8S to v1.21.4
Current K8S version v1.19.3 has been reported security vulnerabilities
by github Dependabot alerts:
1. https://github.com/advisories/GHSA-f5f7-6478-qm6p
2. https://github.com/advisories/GHSA-mfv7-gq43-w965

The K8S v1.21.4 has been chosen to keep consistent with
KubeEdge(v1.8.2).

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-11-08 10:20:50 +08:00
llhuii afdd6a257d buildx: add build speed for LC
Add a tag '_speed_buildx_for_cgo_alpine' for Dockerfiles:
1. require golang with CGO_ENABLED=1
2. use alpine image.

So used in 'build/lc/Dockerfile'

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-11-04 19:42:57 +08:00
llhuii 7230d06ebc buildx: disable build speed for LC
Because LC has built sqlite3 which requires CGO with CGO_ENABLED=1, and
CGO can't support cross-compilation, this speed improvement can't used
in LC.

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-11-04 19:24:45 +08:00
llhuii d629f436b7 buildx: speed the language having builtin build
We use docker-buildx to build our components images for different
platforms.

But for some languages, such as golang, have good builtin build for
multi platforms, and buildx support that.
In Sedna, we have GM/LC written by golang. This commit supports this
function.

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-11-03 10:26:54 +08:00
KubeEdge Bot 1ce64fcaf7
Merge pull request #215 from JimmyYang20/fixbug
Fix building wrong GM/LC arm64 docker images
2021-11-02 15:43:01 +08:00
KubeEdge Bot a760f17610
Merge pull request #227 from llhuii/all-in-one-improvement
all-in-one: add NO_INSTALL_SEDNA variable flag
2021-10-30 10:57:58 +08:00
llhuii 9419eca800 all-in-one: fix empty function bug
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-10-30 09:18:02 +08:00
llhuii 00f8f1dfe3 all-in-one: add NO_INSTALL_SEDNA variable flag
If NO_INSTALL_SEDNA not 'false', don't install Sedna, it's useful to
develop, the developer will install Sedna later by manually.

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-10-30 09:12:28 +08:00
KubeEdge Bot b1ec13e988
Merge pull request #221 from JimmyYang20/fixbug-init-container
storage initializer:  keep dir name in s3 download
2021-10-29 17:57:58 +08:00
JimmyYang20 17cbfc1b9a storage initializer: keep dir name in s3 download
when downloading the specified folder, keep the name of the folder itself.

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-10-29 17:51:58 +08:00
KubeEdge Bot a293a29bab
Merge pull request #226 from XinYao1994/main
example: fix fl_model.train in surface_defect_detection_v2
2021-10-29 17:46:58 +08:00
KubeEdge Bot 13e9ef041c
Merge pull request #220 from llhuii/integrate-edgemesh
Unify all services exposed as ClusterIP by integrating EdgeMesh
2021-10-29 17:35:58 +08:00
XinYao1994 a9e8a3ce43 Changed interface from run() to train().
Signed-off-by: XinYao1994 <xyao@cs.hku.hk>
2021-10-29 17:11:47 +08:00
KubeEdge Bot 930e0b6b9f
Merge pull request #223 from llhuii/fix-object-search-crd
Add missing object search/tracking CRD and RBAC yamls
2021-10-29 16:41:58 +08:00
llhuii 75aa15b47c Expose workers as cluster service using EdgeMesh
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-10-29 16:37:31 +08:00
llhuii fe2363884f Prevent GM/KB running in edge nodes
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-10-29 16:37:31 +08:00
llhuii 5ba6619064 Integrate EdgeMesh into control plane
1. Update the deployment of GM/LC/KB.
2. Update the installation doc, mainly remove SEDNA_GM_NODE

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-10-29 16:37:31 +08:00
llhuii 0bad6b71c7 Update rbac for objectsearch/objecttracking
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-10-29 11:49:16 +08:00
llhuii d45f6a96b9 Add objectsearch/objecttracking CRD by 'make crds'
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-10-29 11:41:42 +08:00
KubeEdge Bot de27dd7ecc
Merge pull request #214 from vcozzolino/feature-build-script
Improve build script of examples
2021-10-28 12:49:57 +08:00
Vittorio Cozzolino 64f93a9d49 Improve build_image.sh
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2021-10-26 13:22:01 +02:00
KubeEdge Bot fa6df45c30
Merge pull request #218 from vcozzolino/feature-improve-codegen
Improve update-codegen.sh to copy generated files into SEDNA_ROOT.
2021-10-26 16:18:54 +08:00
Vittorio Cozzolino ea2f333cf5 Improve update-codegen.sh
Signed-off-by: Vittorio Cozzolino <vittorio.cozzolino@huawei.com>
2021-10-26 09:27:22 +02:00
KubeEdge Bot ed4756c133
Merge pull request #210 from llhuii/fix-all-in-one-untaint-bug
all-in-one: fix master node unschedule taint bug
2021-10-25 09:58:52 +08:00
KubeEdge Bot e5c7c9765c
Merge pull request #209 from JimmyYang20/optimize-images
Fix kb image version in the install script
2021-10-23 09:25:22 +08:00
JimmyYang20 5efd974365 Fix kb image version
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-10-21 20:44:54 +08:00
KubeEdge Bot 7fe5387e58
Merge pull request #216 from jaypume/doc
Fix the display problem in the home page
2021-10-20 19:57:06 +08:00
Jie Pu 9a2fa3b29f fix the display problem in the home page
Signed-off-by: Jie Pu <i@jaypu.com>
2021-10-20 10:15:47 +08:00
JimmyYang20 e95caf9471 Fix bug: control plane supports arm64
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-10-19 20:14:47 +08:00
llhuii c03abf12ef all-in-one: fix master node unschedule taint bug
When added more than one cloud worker nodes, the master node is
unscheduled, this fix kubectl-taint-command.

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-10-15 17:59:07 +08:00
KubeEdge Bot 1c5c53784e
Merge pull request #184 from JoeyHwong-gk/common
Fix install issues about lib
2021-10-13 11:55:00 +08:00
JoeyHwong 14b22ece31 fix incompatible in requirement
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-10-13 11:38:50 +08:00
JoeyHwong b3aae0b97f
Merge branch 'main' into common 2021-10-13 10:45:06 +08:00
JoeyHwong 5a7be01e11 fix PR commnet
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-10-13 10:35:46 +08:00
KubeEdge Bot 1d7bd48adc
Merge pull request #196 from JimmyYang20/optimize-platform
Sedna control plane supports amd64/arm64
2021-09-28 11:31:45 +08:00
JimmyYang20 d8766bd760 Sedna control plane supports amd64/arm64
control plane images support amd64/arm64
add a workerflow action: docker_cross_build

Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-09-28 10:19:46 +08:00
KubeEdge Bot 3d88d0d7b7
Merge pull request #190 from EnfangCui/add-object-search-controller
Add object search controller
2021-09-24 09:32:41 +08:00
ShiXiaohou ff28a1eecf Add function about creating tracking worker pods to object-search controller
Signed-off-by: ShiXiaohou <sxiaohou@163.com>
2021-09-23 22:40:53 +08:00
DanLiu ac4cf2e4ca Add func to create user worker service to object-search controller
Signed-off-by: DanLiu <17801113402@163.com>
2021-09-22 17:35:46 +08:00
HenryChou 45aebc35d7 Add func to create user worker to object-search controller
Signed-off-by: HenryChou <zhouhengrui@vip.qq.com>
2021-09-22 17:10:37 +08:00
Yutong Wang 59d639e100 Add func to create reid worker and service to object-search controller
Signed-off-by: Yutong Wang <wangyutong_96@126.com>
2021-09-22 16:44:25 +08:00
EnfangCui 76c79d1891 Add object-search controller to \pkg\globalmanager\controllers
Signed-off-by: EnfangCui <17111008@bjtu.edu.cn>
2021-09-22 15:50:38 +08:00
JoeyHwong 8aa2c9261d fix extras require in setup
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-09-22 08:40:11 +08:00
KubeEdge Bot 3b7536891f
Merge pull request #192 from llhuii/allinone-script
Add all-in-one installation script/docs
2021-09-18 17:07:36 +08:00
KubeEdge Bot 2f394233db
Merge pull request #197 from XinYao1994/main
Fixed bugs of S3 and create an example of tensorflow framework in Federated Learning
2021-09-18 17:05:36 +08:00
llhuii cc4952cb5a Update docs according to review comment
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-18 16:59:09 +08:00
KubeEdge Bot 890e66ece7
Merge pull request #201 from llhuii/fix-external-ip
GM: remove externalIPs when creating k8s service
2021-09-18 14:57:36 +08:00
llhuii 479d407408 all-in-one: make GM node schedulable
When NUM_CLOUD_WORKERS >= 1, kind will taint master node with
key='node-role.kubernetes.io/master'.

By default, GM will be deployed at master node.
So make master node schedulable, and be able to run workloads, i.e. GM
here.

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-18 14:23:11 +08:00
llhuii 54f1d1b313 Enhance all-in-one script
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-17 17:25:16 +08:00
llhuii 1848a59083 GM: remove externalIPs when creating k8s service
The 'externalIPs' is unncessary, and can result in the correspoing
kubelet can't reach api server, and then node unreachable status.

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-17 16:20:35 +08:00
KubeEdge Bot f9ae82ea15
Merge pull request #200 from llhuii/increase-gm-memory-limit
Increase GM memory limit from 128Mi to 256Mi
2021-09-17 16:14:35 +08:00
llhuii 1a9c82c357 Update all-in-one.md
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-17 16:09:53 +08:00
llhuii 7a2d6758a9 Update the setup quick start doc
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-17 16:05:52 +08:00
llhuii d776610c57 Increase GM memory limit from 128Mi to 256Mi
This avoid GM to be OOM killed temporarily.
TBD: Dive to analyze GM memory usage, which should be less than 128Mi.

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-17 15:37:19 +08:00
llhuii 8d515fb2e6 Add all-in-one docs
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-17 12:00:55 +08:00
llhuii 784ee4696e Add all-in-one installation script
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-17 11:55:22 +08:00
XinYao1994 601c977a00 Fixed bugs of running tensorflow framework and supported different folds for storing pretrained model and aftertrained model.
Signed-off-by: XinYao1994 <xyao@cs.hku.hk>
2021-09-16 10:22:22 +08:00
KubeEdge Bot b3351fa3b0
Merge pull request #195 from llhuii/optimize-install-script
Optimize installation script
2021-09-14 16:41:32 +08:00
llhuii 29f17b1e5e Optimize the install script
1. Add some usage doc comment.
2. Install Sedna latest release version when unspecified.

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-14 15:57:35 +08:00
JoeyHwong 25e21e888a Fix reference error
- fix setup.py error
- fix service import error

Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
Signed-off-by: joeyhwong <joeyhwong@gknow.cn>
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-09-08 21:50:06 +08:00
KubeEdge Bot e110ac77b1
Merge pull request #116 from XinYao1994/main
[Enhancement Request] Integrate Plato into Sedna as a backend for supporting federated learning - Phase one
2021-09-08 21:31:27 +08:00
KubeEdge Bot e61f6f8910
Merge pull request #187 from JimmyYang20/fl
GM: fix the bug of injecting hostpath mount
2021-09-08 21:27:27 +08:00
KubeEdge Bot 938326a169
Merge pull request #186 from JoeyHwong-gk/fl_fix
fix env variable error in aggregation
2021-09-08 21:26:27 +08:00
XinYao1994 2488b3f94b add federated learning inplementation by plato
Signed-off-by: XinYao1994 <xyao@cs.hku.hk>
2021-09-08 21:06:24 +08:00
Jie Pu d920f8ec57 add transmitter, client_choose, aggregation interface
1. add transmitter, client_choose, aggregation interface to Lib.
2. add example of how to use new added interface.

Signed-off-by: Jie Pu <pujie2@huawei.com>
Signed-off-by: XinYao1994 <xyao@cs.hku.hk>

update
2021-09-08 21:06:22 +08:00
JimmyYang20 c21f619d8a GM: fix the bug of injecting hostpath mount
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-09-08 11:31:34 +08:00
JoeyHwong 06fb69274f fix env variable error in aggregation
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-09-07 15:40:10 +08:00
KubeEdge Bot bb4f651179
Merge pull request #185 from JimmyYang20/fl
FL: fix nil pointer bug in GM
2021-09-06 16:24:25 +08:00
JimmyYang20 8ee6c6805d FL: fix nil pointer bug in GM
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-09-06 15:57:53 +08:00
KubeEdge Bot 74e597ad3c
Merge pull request #167 from JimmyYang20/fl
API&GM: FL adds transmitter interface
2021-09-04 15:19:23 +08:00
JimmyYang20 5d70375d3f API&GM: FL adds transmitter interface
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-09-03 20:47:50 +08:00
KubeEdge Bot 6f1461717d
Merge pull request #183 from JoeyHwong-gk/security
fix lib/requirements
2021-09-03 11:03:22 +08:00
JoeyHwong a6d7932a81 fix lib/requirements
- This upgrade fixes a CSRF error in FastAPI version earlier than 0.65.2,
see https://github.com/tiangolo/fastapi/security/advisories/GHSA-8h2j-cgx8-6xv7

Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-09-03 10:38:08 +08:00
KubeEdge Bot 3b8921e59a
Merge pull request #182 from llhuii/upgrade-websocket
Upgrade gorilla/websocket from v1.4.0 to v1.4.2
2021-09-03 09:40:22 +08:00
llhuii 12c4499273 Upgrade gorilla/websocket from v1.4.0 to v1.4.2
This upgrade fixes a potential DoS vector bug in gorilla/websocket 1.4.0,
see https://github.com/gorilla/websocket/security/advisories/GHSA-jf24-p9p9-4rjh

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-09-02 20:23:52 +08:00
KubeEdge Bot 8fe51d2029
Merge pull request #157 from JoeyHwong-gk/hot_model
[Lib Support] hot model update
2021-09-02 09:45:22 +08:00
JoeyHwong 8b782ae0af Update docs
- add lib development guide
- Supplementary quickstart documentation
- fix known issue

Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-30 20:19:16 +08:00
KubeEdge Bot df6c88ba26
Merge pull request #174 from JimmyYang20/doc-s3
Fix s3 example docs of IL&JI
2021-08-28 09:35:17 +08:00
JimmyYang20 9161ed42ca Fix s3 example docs of IL&JI
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-08-27 17:29:11 +08:00
KubeEdge Bot 04e518f574
Merge pull request #138 from JimmyYang20/modelhotupdate
GM&LC: IL supports model hot updates
2021-08-26 16:40:15 +08:00
JoeyHwong c5856362ec fix pr comment
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-26 16:01:33 +08:00
JimmyYang20 0223441530 GM&LC: IL supports model hot updates
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-08-26 15:41:38 +08:00
KubeEdge Bot 090ad350c1
Merge pull request #150 from JoeyHwong-gk/docs
docs improvement
2021-08-25 16:15:14 +08:00
JoeyHwong f574fd9eb9 fix access exceptions when rendering with sphinx
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-25 15:59:55 +08:00
KubeEdge Bot 600d1a81f6
Merge pull request #160 from JimmyYang20/doc-s3
Update s3 example docs of IL&JI
2021-08-25 15:46:14 +08:00
KubeEdge Bot a92b7341cc
Merge pull request #148 from llhuii/add-contributing-docs
Add contributing docs
2021-08-25 15:45:14 +08:00
KubeEdge Bot c50b85a973
Merge pull request #159 from JoeyHwong-gk/libdoc
update lib doc
2021-08-25 15:44:14 +08:00
llhuii 8579d8852b Add contributing docs
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-08-24 17:16:37 +08:00
KubeEdge Bot c3475e2917
Merge pull request #166 from llhuii/fix-verify-checker
Fix codegen verify checker
2021-08-23 14:39:12 +08:00
KubeEdge Bot 008364c2b6
Merge pull request #164 from JoeyHwong-gk/federated
Support websocket reconnection when the server status is abnormal
2021-08-23 14:38:12 +08:00
KubeEdge Bot de11814fbc
Merge pull request #158 from llhuii/fix-imagerepo-of-image-publish-action
Fix IMAGE_REPO in github image-publish action
2021-08-23 14:37:12 +08:00
JoeyHwong 9d601600a2 Update dependency of server request in lib
- replace `retry==1.3.3` with `tenacity==8.0.1` because of `retry` no longer maintained.

Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-23 11:48:37 +08:00
JoeyHwong 81f19c0bd2 fix job_kind value in LC_report
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-20 22:42:02 +08:00
llhuii 88d183decb Add the missing gencode for objectsearch/tracking
Signed-off-by: llhuii <liulinghui@huawei.com>
2021-08-20 18:06:55 +08:00
llhuii 153d34813e Fix codegen verify checker
Note the codegen verify checker should report error

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-08-20 18:06:55 +08:00
JoeyHwong 376b73276c Adjusting the Log of IncrementalLearning example
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-20 16:41:38 +08:00
JoeyHwong 75f6f287f2 Lib support hot model update
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-20 13:07:11 +08:00
JoeyHwong 0a140ee106 Support websocket reconnection
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-20 10:12:59 +08:00
JimmyYang20 81b0c2c778 Update s3 example docs of IL&JI
Signed-off-by: JimmyYang20 <yangjin39@huawei.com>
2021-08-19 15:24:09 +08:00
JoeyHwong c0e58c9326 update lib doc
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-19 14:46:13 +08:00
JoeyHwong 4b52b0db25 fix syntax and information in the docs
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-18 10:04:39 +08:00
JoeyHwong b4b8e2a14d Improve the docs
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-18 09:57:53 +08:00
JoeyHwong 80d1f19818 add lib doc
Signed-off-by: JoeyHwong <joeyhwong@gknow.cn>
2021-08-17 09:09:58 +08:00
llhuii 7b087e0d16 Fix IMAGE_REPO in github image-publish action
Using the env 'GITHUB_REPOSITORY' instead of 'GITHUB_ACTOR' to get the right
image repo name i.e. `IMAGE_REPO` in Makefile.

Signed-off-by: llhuii <liulinghui@huawei.com>
2021-08-16 12:09:07 +08:00
4929 changed files with 945533 additions and 320079 deletions

33
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,33 @@
<!-- Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, please read our contributor guidelines: https://github.com/kubeedge/sedna/blob/main/CONTRIBUTING.md
2. Ensure you have added or ran the appropriate tests for your PR
-->
**What type of PR is this?**
<!--
Add one of the following kinds:
/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind test
/kind design
Optionally add one or more of the following kinds if applicable:
/kind api-change
/kind failing-test
-->
**What this PR does / why we need it**:
**Which issue(s) this PR fixes**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_*
-->
Fixes #

View File

@ -25,8 +25,9 @@ jobs:
- name: Run push images
run: |
# ${GITHUB_ACTOR} => kubeedge
# ${GITHUB_REPOSITORY} => kubeedge/sedna
# ${GITHUB_REF} => refs/tags/v0.0.1
# IMAGE_REPO=kubeedge IMAGE_TAG=v0.0.1
# see https://docs.github.com/en/actions/reference/environment-variables#default-environment-variables
make push-all IMAGE_REPO=${GITHUB_ACTOR} IMAGE_TAG=${GITHUB_REF#refs/*/}
make push-all IMAGE_REPO=$(echo ${GITHUB_REPOSITORY%/*} | tr A-Z a-z) IMAGE_TAG=${GITHUB_REF#refs/*/}
working-directory: ./src/github.com/${{ github.repository }}

View File

@ -9,21 +9,27 @@ on:
jobs:
verify-and-lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Verify codegen/vendor/licenses, do lint
env:
GOPATH: ${{ github.workspace }}
# since client-go codegen requires that code checkout GOPATH
CODE_DIR: '${{github.workspace}}/src/github.com/kubeedge/sedna'
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.14.x
go-version: 1.22.9
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
path: ./src/github.com/${{ github.repository }}
path: ${{ env.CODE_DIR }}
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@ -34,47 +40,47 @@ jobs:
- name: Run verify test
run: make verify
working-directory: ./src/github.com/${{ github.repository }}
working-directory: ${{ env.CODE_DIR }}
- name: Run go lint test
run: make lint
working-directory: ./src/github.com/${{ github.repository }}
working-directory: ${{ env.CODE_DIR }}
- name: Run python code style test
run: pycodestyle lib
working-directory: ./src/github.com/${{ github.repository }}
working-directory: ${{ env.CODE_DIR }}
build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: build gm and lc
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.14.x
go-version: 1.22.9
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make build # without verify
basic_test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: 'Unit test, integration test edge (noop now)'
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.14.x
go-version: 1.22.9
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
@ -83,34 +89,33 @@ jobs:
run: ': to be added'
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: ': to be added'
e2e_test:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: 'E2e test'
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.14.x
go-version: 1.22.9
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Install dependences
run: |
# since this ubuntu-latest os has already kind/kubectl/jq(see https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md),
# this just makes it sure
type kind || {
sudo apt-get install -y jq
go get sigs.k8s.io/kind@$(curl -s https://api.github.com/repos/kubernetes-sigs/kind/releases/latest | jq -r .tag_name)
}
# since this ubuntu-latest os has already kind/kubectl/jq(see https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md),
# but kind v0.19.0 has different api with v0.18.0, so here to reinstall kind v0.18.0
sudo apt-get install -y jq
go install sigs.k8s.io/kind@$(curl -s https://api.github.com/repos/kubernetes-sigs/kind/releases/97518847 | jq -r .tag_name)
kind version
type kubectl || {
curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
chmod +x ./kubectl
@ -119,29 +124,50 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make e2e
docker_build:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: docker image build for gm/lc
steps:
- name: Install Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.14.x
go-version: 1.22.9
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make images
docker_cross_build:
runs-on: ubuntu-22.04
name: docker cross build images for gm/lc/kb
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: 1.22.9
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- run: make docker-cross-build

6
.gitignore vendored
View File

@ -4,6 +4,7 @@
*.dll
*.so
*.dylib
*.DS_Store
# Test binary, built with `go test -c`
*.test
@ -28,3 +29,8 @@ __pycache__/
# go build output
/_output
# AI model files
*.pth
*.model
*.pkl

View File

@ -12,21 +12,49 @@ run:
# exit code when at least one issue was found, default is 1
issues-exit-code: 1
# which dirs to skip: issues from them won't be reported;
# can use regexp here: generated.*, regexp is applied on full path;
# default value is empty list, but default dirs are skipped independently
# from this option's value (see skip-dirs-use-default).
# "/" will be replaced by current OS file path separator to properly work
# on Windows.
skip-dirs:
issues:
# Which dirs to exclude: issues from them won't be reported.
# Can use regexp here: `generated.*`, regexp is applied on full path,
# including the path prefix if one is set.
# Default dirs are skipped independently of this option's value (see exclude-dirs-use-default).
# "/" will be replaced by current OS file path separator to properly work on Windows.
# Default: []
exclude-dirs:
- vendor
- fake
- externalversions
exclude-dirs-use-default: true
# output configuration options
output:
# colored-line-number|line-number|json|tab|checkstyle|code-climate, default is "colored-line-number"
format: colored-line-number
# The formats used to render issues.
# Formats:
# - `colored-line-number`
# - `line-number`
# - `json`
# - `colored-tab`
# - `tab`
# - `html`
# - `checkstyle`
# - `code-climate`
# - `junit-xml`
# - `junit-xml-extended`
# - `github-actions`
# - `teamcity`
# - `sarif`
# Output path can be either `stdout`, `stderr` or path to the file to write to.
#
# For the CLI flag (`--out-format`), multiple formats can be specified by separating them by comma.
# The output can be specified for each of them by separating format name and path by colon symbol.
# Example: "--out-format=checkstyle:report.xml,json:stdout,colored-line-number"
# The CLI flag (`--out-format`) override the configuration file.
#
# Default:
# formats:
# - format: colored-line-number
# path: stdout
formats:
- format: colored-line-number
# print lines of code with issue, default is true
print-issued-lines: true
@ -41,13 +69,21 @@ linters-settings:
misspell:
ignore-words:
- mosquitto
revive:
rules:
- name: unused-parameter
severity: warning
disabled: true
- name: unused-receiver
severity: warning
disabled: true
linters:
disable-all: true
enable:
- goconst
- gofmt
- golint
- revive
- gosimple
- govet
- misspell

3
CODE_OF_CONDUCT.md Normal file
View File

@ -0,0 +1,3 @@
# KubeEdge Community Code of Conduct
Please refer to our [KubeEdge Community Code of Conduct](https://github.com/kubeedge/community/blob/master/CODE_OF_CONDUCT.md)

7
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,7 @@
# Contributing Guidelines
Welcome to Sedna. We are excited about the prospect of you joining our [community](https://github.com/kubeedge/community)! The KubeEdge community abides by the CNCF [code of conduct](CODE-OF-CONDUCT.md). Here is an excerpt:
_As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities._
To learn more about contributing to the [Sedna code repo](README.md), check out the [contributing guide](docs/contributing/getting-started.md).

View File

@ -1,16 +0,0 @@
= vendor/github.com/PuerkitoBio/purell licensed under: =
Copyright (c) 2012, Martin Angers
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
* Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
= vendor/github.com/PuerkitoBio/purell/LICENSE fb8b39492731abb9a3d68575f3eedbfa

View File

@ -1,31 +0,0 @@
= vendor/github.com/PuerkitoBio/urlesc licensed under: =
Copyright (c) 2012 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
= vendor/github.com/PuerkitoBio/urlesc/LICENSE 591778525c869cdde0ab5a1bf283cd81

26
LICENSES/vendor/github.com/aymerick/douceur/LICENSE generated vendored Normal file
View File

@ -0,0 +1,26 @@
= vendor/github.com/aymerick/douceur licensed under: =
The MIT License (MIT)
Copyright (c) 2015 Aymerick JEHANNE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
= vendor/github.com/aymerick/douceur/LICENSE fd0cb84f618c94d44537f2cce7065bd4

View File

@ -1,26 +0,0 @@
= vendor/github.com/blang/semver licensed under: =
The MIT License
Copyright (c) 2014 Benedikt Lang <github at benediktlang.de>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
= vendor/github.com/blang/semver/LICENSE 5a3ade42a900439691ebc22013660cae

26
LICENSES/vendor/github.com/blang/semver/v4/LICENSE generated vendored Normal file
View File

@ -0,0 +1,26 @@
= vendor/github.com/blang/semver/v4 licensed under: =
The MIT License
Copyright (c) 2014 Benedikt Lang <github at benediktlang.de>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
= vendor/github.com/blang/semver/v4/LICENSE 5a3ade42a900439691ebc22013660cae

View File

@ -1,206 +0,0 @@
= vendor/github.com/docker/distribution licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/github.com/docker/distribution/LICENSE d2794c0df5b907fdace235a619d80314

View File

@ -22,4 +22,4 @@ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
= vendor/github.com/emicklei/go-restful/LICENSE 2ebc1c12a0f4eae5394522e31961e1de
= vendor/github.com/emicklei/go-restful/v3/LICENSE 2ebc1c12a0f4eae5394522e31961e1de

View File

@ -1,206 +0,0 @@
= vendor/github.com/go-openapi/spec licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/github.com/go-openapi/spec/LICENSE 3b83ef96387f14655fc854ddc3c6bd57

View File

@ -0,0 +1,207 @@
= vendor/github.com/google/gnostic-models licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/github.com/google/gnostic-models/LICENSE b1e01b26bacfc2232046c90a330332b3

View File

@ -1,207 +0,0 @@
= vendor/github.com/googleapis/gnostic licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/github.com/googleapis/gnostic/LICENSE b1e01b26bacfc2232046c90a330332b3

31
LICENSES/vendor/github.com/gorilla/css/LICENSE generated vendored Normal file
View File

@ -0,0 +1,31 @@
= vendor/github.com/gorilla/css licensed under: =
Copyright (c) 2013, Gorilla web toolkit
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
Neither the name of the {organization} nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
= vendor/github.com/gorilla/css/LICENSE 4d8d46bc2d62ed6ac9293a579a144344

View File

@ -1,366 +0,0 @@
= vendor/github.com/hashicorp/golang-lru licensed under: =
Mozilla Public License, version 2.0
1. Definitions
1.1. "Contributor"
means each individual or legal entity that creates, contributes to the
creation of, or owns Covered Software.
1.2. "Contributor Version"
means the combination of the Contributions of others (if any) used by a
Contributor and that particular Contributor's Contribution.
1.3. "Contribution"
means Covered Software of a particular Contributor.
1.4. "Covered Software"
means Source Code Form to which the initial Contributor has attached the
notice in Exhibit A, the Executable Form of such Source Code Form, and
Modifications of such Source Code Form, in each case including portions
thereof.
1.5. "Incompatible With Secondary Licenses"
means
a. that the initial Contributor has attached the notice described in
Exhibit B to the Covered Software; or
b. that the Covered Software was made available under the terms of
version 1.1 or earlier of the License, but not also under the terms of
a Secondary License.
1.6. "Executable Form"
means any form of the work other than Source Code Form.
1.7. "Larger Work"
means a work that combines Covered Software with other material, in a
separate file or files, that is not Covered Software.
1.8. "License"
means this document.
1.9. "Licensable"
means having the right to grant, to the maximum extent possible, whether
at the time of the initial grant or subsequently, any and all of the
rights conveyed by this License.
1.10. "Modifications"
means any of the following:
a. any file in Source Code Form that results from an addition to,
deletion from, or modification of the contents of Covered Software; or
b. any new file in Source Code Form that contains any Covered Software.
1.11. "Patent Claims" of a Contributor
means any patent claim(s), including without limitation, method,
process, and apparatus claims, in any patent Licensable by such
Contributor that would be infringed, but for the grant of the License,
by the making, using, selling, offering for sale, having made, import,
or transfer of either its Contributions or its Contributor Version.
1.12. "Secondary License"
means either the GNU General Public License, Version 2.0, the GNU Lesser
General Public License, Version 2.1, the GNU Affero General Public
License, Version 3.0, or any later versions of those licenses.
1.13. "Source Code Form"
means the form of the work preferred for making modifications.
1.14. "You" (or "Your")
means an individual or a legal entity exercising rights under this
License. For legal entities, "You" includes any entity that controls, is
controlled by, or is under common control with You. For purposes of this
definition, "control" means (a) the power, direct or indirect, to cause
the direction or management of such entity, whether by contract or
otherwise, or (b) ownership of more than fifty percent (50%) of the
outstanding shares or beneficial ownership of such entity.
2. License Grants and Conditions
2.1. Grants
Each Contributor hereby grants You a world-wide, royalty-free,
non-exclusive license:
a. under intellectual property rights (other than patent or trademark)
Licensable by such Contributor to use, reproduce, make available,
modify, display, perform, distribute, and otherwise exploit its
Contributions, either on an unmodified basis, with Modifications, or
as part of a Larger Work; and
b. under Patent Claims of such Contributor to make, use, sell, offer for
sale, have made, import, and otherwise transfer either its
Contributions or its Contributor Version.
2.2. Effective Date
The licenses granted in Section 2.1 with respect to any Contribution
become effective for each Contribution on the date the Contributor first
distributes such Contribution.
2.3. Limitations on Grant Scope
The licenses granted in this Section 2 are the only rights granted under
this License. No additional rights or licenses will be implied from the
distribution or licensing of Covered Software under this License.
Notwithstanding Section 2.1(b) above, no patent license is granted by a
Contributor:
a. for any code that a Contributor has removed from Covered Software; or
b. for infringements caused by: (i) Your and any other third party's
modifications of Covered Software, or (ii) the combination of its
Contributions with other software (except as part of its Contributor
Version); or
c. under Patent Claims infringed by Covered Software in the absence of
its Contributions.
This License does not grant any rights in the trademarks, service marks,
or logos of any Contributor (except as may be necessary to comply with
the notice requirements in Section 3.4).
2.4. Subsequent Licenses
No Contributor makes additional grants as a result of Your choice to
distribute the Covered Software under a subsequent version of this
License (see Section 10.2) or under the terms of a Secondary License (if
permitted under the terms of Section 3.3).
2.5. Representation
Each Contributor represents that the Contributor believes its
Contributions are its original creation(s) or it has sufficient rights to
grant the rights to its Contributions conveyed by this License.
2.6. Fair Use
This License is not intended to limit any rights You have under
applicable copyright doctrines of fair use, fair dealing, or other
equivalents.
2.7. Conditions
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in
Section 2.1.
3. Responsibilities
3.1. Distribution of Source Form
All distribution of Covered Software in Source Code Form, including any
Modifications that You create or to which You contribute, must be under
the terms of this License. You must inform recipients that the Source
Code Form of the Covered Software is governed by the terms of this
License, and how they can obtain a copy of this License. You may not
attempt to alter or restrict the recipients' rights in the Source Code
Form.
3.2. Distribution of Executable Form
If You distribute Covered Software in Executable Form then:
a. such Covered Software must also be made available in Source Code Form,
as described in Section 3.1, and You must inform recipients of the
Executable Form how they can obtain a copy of such Source Code Form by
reasonable means in a timely manner, at a charge no more than the cost
of distribution to the recipient; and
b. You may distribute such Executable Form under the terms of this
License, or sublicense it under different terms, provided that the
license for the Executable Form does not attempt to limit or alter the
recipients' rights in the Source Code Form under this License.
3.3. Distribution of a Larger Work
You may create and distribute a Larger Work under terms of Your choice,
provided that You also comply with the requirements of this License for
the Covered Software. If the Larger Work is a combination of Covered
Software with a work governed by one or more Secondary Licenses, and the
Covered Software is not Incompatible With Secondary Licenses, this
License permits You to additionally distribute such Covered Software
under the terms of such Secondary License(s), so that the recipient of
the Larger Work may, at their option, further distribute the Covered
Software under the terms of either this License or such Secondary
License(s).
3.4. Notices
You may not remove or alter the substance of any license notices
(including copyright notices, patent notices, disclaimers of warranty, or
limitations of liability) contained within the Source Code Form of the
Covered Software, except that You may alter any license notices to the
extent required to remedy known factual inaccuracies.
3.5. Application of Additional Terms
You may choose to offer, and to charge a fee for, warranty, support,
indemnity or liability obligations to one or more recipients of Covered
Software. However, You may do so only on Your own behalf, and not on
behalf of any Contributor. You must make it absolutely clear that any
such warranty, support, indemnity, or liability obligation is offered by
You alone, and You hereby agree to indemnify every Contributor for any
liability incurred by such Contributor as a result of warranty, support,
indemnity or liability terms You offer. You may include additional
disclaimers of warranty and limitations of liability specific to any
jurisdiction.
4. Inability to Comply Due to Statute or Regulation
If it is impossible for You to comply with any of the terms of this License
with respect to some or all of the Covered Software due to statute,
judicial order, or regulation then You must: (a) comply with the terms of
this License to the maximum extent possible; and (b) describe the
limitations and the code they affect. Such description must be placed in a
text file included with all distributions of the Covered Software under
this License. Except to the extent prohibited by statute or regulation,
such description must be sufficiently detailed for a recipient of ordinary
skill to be able to understand it.
5. Termination
5.1. The rights granted under this License will terminate automatically if You
fail to comply with any of its terms. However, if You become compliant,
then the rights granted under this License from a particular Contributor
are reinstated (a) provisionally, unless and until such Contributor
explicitly and finally terminates Your grants, and (b) on an ongoing
basis, if such Contributor fails to notify You of the non-compliance by
some reasonable means prior to 60 days after You have come back into
compliance. Moreover, Your grants from a particular Contributor are
reinstated on an ongoing basis if such Contributor notifies You of the
non-compliance by some reasonable means, this is the first time You have
received notice of non-compliance with this License from such
Contributor, and You become compliant prior to 30 days after Your receipt
of the notice.
5.2. If You initiate litigation against any entity by asserting a patent
infringement claim (excluding declaratory judgment actions,
counter-claims, and cross-claims) alleging that a Contributor Version
directly or indirectly infringes any patent, then the rights granted to
You by any and all Contributors for the Covered Software under Section
2.1 of this License shall terminate.
5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user
license agreements (excluding distributors and resellers) which have been
validly granted by You or Your distributors under this License prior to
termination shall survive termination.
6. Disclaimer of Warranty
Covered Software is provided under this License on an "as is" basis,
without warranty of any kind, either expressed, implied, or statutory,
including, without limitation, warranties that the Covered Software is free
of defects, merchantable, fit for a particular purpose or non-infringing.
The entire risk as to the quality and performance of the Covered Software
is with You. Should any Covered Software prove defective in any respect,
You (not any Contributor) assume the cost of any necessary servicing,
repair, or correction. This disclaimer of warranty constitutes an essential
part of this License. No use of any Covered Software is authorized under
this License except under this disclaimer.
7. Limitation of Liability
Under no circumstances and under no legal theory, whether tort (including
negligence), contract, or otherwise, shall any Contributor, or anyone who
distributes Covered Software as permitted above, be liable to You for any
direct, indirect, special, incidental, or consequential damages of any
character including, without limitation, damages for lost profits, loss of
goodwill, work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses, even if such party shall have been
informed of the possibility of such damages. This limitation of liability
shall not apply to liability for death or personal injury resulting from
such party's negligence to the extent applicable law prohibits such
limitation. Some jurisdictions do not allow the exclusion or limitation of
incidental or consequential damages, so this exclusion and limitation may
not apply to You.
8. Litigation
Any litigation relating to this License may be brought only in the courts
of a jurisdiction where the defendant maintains its principal place of
business and such litigation shall be governed by laws of that
jurisdiction, without reference to its conflict-of-law provisions. Nothing
in this Section shall prevent a party's ability to bring cross-claims or
counter-claims.
9. Miscellaneous
This License represents the complete agreement concerning the subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. Any law or regulation which provides that
the language of a contract shall be construed against the drafter shall not
be used to construe this License against a Contributor.
10. Versions of the License
10.1. New Versions
Mozilla Foundation is the license steward. Except as provided in Section
10.3, no one other than the license steward has the right to modify or
publish new versions of this License. Each version will be given a
distinguishing version number.
10.2. Effect of New Versions
You may distribute the Covered Software under the terms of the version
of the License under which You originally received the Covered Software,
or under the terms of any subsequent version published by the license
steward.
10.3. Modified Versions
If you create software not governed by this License, and you want to
create a new license for such software, you may create and use a
modified version of this License if you rename the license and remove
any references to the name of the license steward (except to note that
such modified license differs from this License).
10.4. Distributing Source Code Form that is Incompatible With Secondary
Licenses If You choose to distribute Source Code Form that is
Incompatible With Secondary Licenses under the terms of this version of
the License, the notice described in Exhibit B of this License must be
attached.
Exhibit A - Source Code Form License Notice
This Source Code Form is subject to the
terms of the Mozilla Public License, v.
2.0. If a copy of the MPL was not
distributed with this file, You can
obtain one at
http://mozilla.org/MPL/2.0/.
If it is not possible or desirable to put the notice in a particular file,
then You may include the notice in a location (such as a LICENSE file in a
relevant directory) where a recipient would be likely to look for such a
notice.
You may add additional accurate notices of copyright ownership.
Exhibit B - "Incompatible With Secondary Licenses" Notice
This Source Code Form is "Incompatible
With Secondary Licenses", as defined by
the Mozilla Public License, v. 2.0.
= vendor/github.com/hashicorp/golang-lru/LICENSE f27a50d2e878867827842f2c60e30bfc

View File

@ -1,17 +1,205 @@
= vendor/github.com/inconshreveable/mousetrap licensed under: =
Copyright 2014 Alan Shreve
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
http://www.apache.org/licenses/LICENSE-2.0
1. Definitions.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
= vendor/github.com/inconshreveable/mousetrap/LICENSE b23cff9db13f093a4e6ff77105cbd8eb
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2022 Alan Shreve (@inconshreveable)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/github.com/inconshreveable/mousetrap/LICENSE 7ea8c6c3cf90c1ca8494325e32c35579

25
LICENSES/vendor/github.com/josharian/intern/LICENSE generated vendored Normal file
View File

@ -0,0 +1,25 @@
= vendor/github.com/josharian/intern licensed under: =
MIT License
Copyright (c) 2019 Josh Bleecher Snyder
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
= vendor/github.com/josharian/intern/license.md 6bc75378a26e0addbcdfa118e4d54574

View File

@ -1,13 +0,0 @@
= vendor/github.com/konsorten/go-windows-terminal-sequences licensed under: =
(The MIT License)
Copyright (c) 2017 marvin + konsorten GmbH (open-source@konsorten.de)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
= vendor/github.com/konsorten/go-windows-terminal-sequences/LICENSE 0fa4821e00ed8fa049781716357f27ed

View File

@ -0,0 +1,32 @@
= vendor/github.com/microcosm-cc/bluemonday licensed under: =
Copyright (c) 2014, David Kitchen <david@buro9.com>
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the organisation (Microcosm) nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
= vendor/github.com/microcosm-cc/bluemonday/LICENSE.md 0d75e28805ddef5b397ee9a7e5282055

35
LICENSES/vendor/github.com/munnerz/goautoneg/LICENSE generated vendored Normal file
View File

@ -0,0 +1,35 @@
= vendor/github.com/munnerz/goautoneg licensed under: =
Copyright (c) 2011, Open Knowledge Foundation Ltd.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in
the documentation and/or other materials provided with the
distribution.
Neither the name of the Open Knowledge Foundation Ltd. nor the
names of its contributors may be used to endorse or promote
products derived from this software without specific prior written
permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
= vendor/github.com/munnerz/goautoneg/LICENSE 0c241922fc69330e2e5590de114f3bf5

View File

@ -1,195 +0,0 @@
= vendor/github.com/opencontainers/go-digest licensed under: =
Apache License
Version 2.0, January 2004
https://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
Copyright 2016 Docker, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/github.com/opencontainers/go-digest/LICENSE.code 9cd86830b557232ce55e2a6b47387471

View File

@ -1,25 +0,0 @@
= vendor/github.com/sirupsen/logrus licensed under: =
The MIT License (MIT)
Copyright (c) 2014 Simon Eskildsen
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
= vendor/github.com/sirupsen/logrus/LICENSE 8dadfef729c08ec4e631c4f6fc5d43a0

View File

@ -1,23 +0,0 @@
= vendor/go.uber.org/atomic licensed under: =
Copyright (c) 2016 Uber Technologies, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
= vendor/go.uber.org/atomic/LICENSE.txt 1caee86519456feda989f8a838102b50

View File

@ -1,23 +0,0 @@
= vendor/go.uber.org/multierr licensed under: =
Copyright (c) 2017 Uber Technologies, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
= vendor/go.uber.org/multierr/LICENSE.txt f65b21a547112d1bc7b11b90f9b31997

View File

@ -1,23 +0,0 @@
= vendor/go.uber.org/zap licensed under: =
Copyright (c) 2016-2017 Uber Technologies, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
= vendor/go.uber.org/zap/LICENSE.txt 5e8153e456a82529ea845e0d511abb69

31
LICENSES/vendor/golang.org/x/term/LICENSE generated vendored Normal file
View File

@ -0,0 +1,31 @@
= vendor/golang.org/x/term licensed under: =
Copyright (c) 2009 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
= vendor/golang.org/x/term/LICENSE 5d4950ecb7b26d2c5e4e7b4e0dd74707

View File

@ -1,31 +0,0 @@
= vendor/golang.org/x/xerrors licensed under: =
Copyright (c) 2019 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
= vendor/golang.org/x/xerrors/LICENSE a413d6b3884e141783f23d00d5838777

View File

@ -1,206 +0,0 @@
= vendor/gopkg.in/square/go-jose.v2 licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/gopkg.in/square/go-jose.v2/LICENSE 3b83ef96387f14655fc854ddc3c6bd57

54
LICENSES/vendor/gopkg.in/yaml.v3/LICENSE generated vendored Normal file
View File

@ -0,0 +1,54 @@
= vendor/gopkg.in/yaml.v3 licensed under: =
This project is covered by two different licenses: MIT and Apache.
#### MIT License ####
The following files were ported to Go from C files of libyaml, and thus
are still covered by their original MIT license, with the additional
copyright staring in 2011 when the project was ported over:
apic.go emitterc.go parserc.go readerc.go scannerc.go
writerc.go yamlh.go yamlprivateh.go
Copyright (c) 2006-2010 Kirill Simonov
Copyright (c) 2006-2011 Kirill Simonov
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
### Apache License ###
All the remaining project files are covered by the Apache license:
Copyright (c) 2011-2019 Canonical Ltd
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/gopkg.in/yaml.v3/LICENSE 3c91c17266710e16afdbb2b6d15c761c

View File

@ -22,4 +22,4 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
= vendor/gorm.io/gorm/License 162a54d183196f03ce8b2a312e5919f8
= vendor/gorm.io/gorm/LICENSE 162a54d183196f03ce8b2a312e5919f8

View File

@ -1,206 +0,0 @@
= vendor/k8s.io/apiserver licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/k8s.io/apiserver/LICENSE 3b83ef96387f14655fc854ddc3c6bd57

View File

@ -1,205 +0,0 @@
= vendor/k8s.io/cloud-provider licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/k8s.io/cloud-provider/LICENSE e3fc50a88d0a364313df4b21ef20c29e

206
LICENSES/vendor/k8s.io/gengo/LICENSE generated vendored
View File

@ -1,206 +0,0 @@
= vendor/k8s.io/gengo licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/k8s.io/gengo/LICENSE ad09685d909e7a9f763d2bb62d4bd6fb

206
LICENSES/vendor/k8s.io/gengo/v2/LICENSE generated vendored Normal file
View File

@ -0,0 +1,206 @@
= vendor/k8s.io/gengo/v2 licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2014 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/k8s.io/gengo/v2/LICENSE ad09685d909e7a9f763d2bb62d4bd6fb

View File

@ -1,206 +0,0 @@
= vendor/k8s.io/kubernetes licensed under: =
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
= vendor/k8s.io/kubernetes/LICENSE 3b83ef96387f14655fc854ddc3c6bd57

242
LICENSES/vendor/sigs.k8s.io/json/LICENSE generated vendored Normal file
View File

@ -0,0 +1,242 @@
= vendor/sigs.k8s.io/json licensed under: =
Files other than internal/golang/* licensed under:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
------------------
internal/golang/* files licensed under:
Copyright (c) 2009 The Go Authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following disclaimer
in the documentation and/or other materials provided with the
distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
= vendor/sigs.k8s.io/json/LICENSE 545d3f23616dee7495323aeb0b098df3

View File

@ -16,10 +16,17 @@ GOPATH ?= $(shell go env GOPATH)
OUT_DIR ?= _output
OUT_BINPATH := $(OUT_DIR)/bin
OUT_IMAGESPATH := $(OUT_DIR)/images
IMAGE_REPO ?= kubeedge
# the env PLATFORMS defines to generate linux images for amd 64-bit, arm 64-bit and armv7 architectures
# the full list of PLATFORMS is linux/amd64,linux/arm64,linux/arm/v7
PLATFORMS ?= linux/amd64,linux/arm64
COMPONENTS ?= gm lc kb
IMAGE_TAG ?= v0.3.0
GO_LDFLAGS ?=''
GO_LDFLAGS ?= ""
# set allowDangerousTypes for allowing float
CRD_OPTIONS ?= "crd:crdVersions=v1,allowDangerousTypes=true"
@ -50,7 +57,7 @@ define BUILD_HELP_INFO
endef
.PHONY: build all
.PHONY: build docker-cross-build all
ifeq ($(HELP),y)
build all:
@echo "$${BUILD_HELP_INFO//TARGET/$@}"
@ -59,6 +66,9 @@ else
# default target
build:
hack/make-rules/build.sh $(WHAT)
# build multi-platform images and results will be saved in tar packages.
docker-cross-build:
bash hack/make-rules/cross-build.sh
all: verify build
@ -109,6 +119,22 @@ lint:
hack/make-rules/lint.sh
endif
define PYLINT_HELP_INFO
# run python lint check.
#
# Example:
# make pylint
# make pylint HELP=y
endef
.PHONY: pylint
ifeq ($(HELP),y)
pylint:
@echo "$$PYLINT_HELP_INFO"
else
pylint:
hack/make-rules/pylint.sh
endif
define CLEAN_HELP_INFO
# Clean up the output of make.
#
@ -132,19 +158,23 @@ gmimage lcimage kbimage:
docker build --build-arg GO_LDFLAGS=${GO_LDFLAGS} -t ${IMAGE_REPO}/sedna-${@:image=}:${IMAGE_TAG} -f build/${@:image=}/Dockerfile .
.PHONY: push push-examples push-all
push-all: push push-examples
.PHONY: push push-examples push-all push-multi-platform-images
push-all: push-multi-platform-images push-examples
# push target pushes sedna-built images
push: images
docker push ${IMAGE_REPO}/sedna-gm:${IMAGE_TAG}
docker push ${IMAGE_REPO}/sedna-lc:${IMAGE_TAG}
docker push ${IMAGE_REPO}/sedna-kb:${IMAGE_TAG}
for target in $(COMPONENTS); do \
docker push ${IMAGE_REPO}/sedna-$$target:${IMAGE_TAG}
done
bash scripts/storage-initializer/push_image.sh
push-examples:
bash examples/push_image.sh
# push multi-platform images
push-multi-platform-images:
bash hack/make-rules/push.sh
.PHONY: e2e
e2e:
hack/run-e2e.sh
@ -153,6 +183,7 @@ e2e:
.PHONY: crds controller-gen
crds: controller-gen
$(CONTROLLER_GEN) $(CRD_OPTIONS) paths="./pkg/apis/sedna/v1alpha1" output:crd:artifacts:config=build/crds
$(CONTROLLER_GEN) $(CRD_OPTIONS) paths="./pkg/apis/sedna/v1alpha1" output:crd:artifacts:config=build/helm/sedna/crds
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
@ -170,7 +201,7 @@ ifeq (, $(shell which controller-gen))
CONTROLLER_GEN_TMP_DIR=$$(mktemp -d) ;\
cd $$CONTROLLER_GEN_TMP_DIR ;\
go mod init tmp ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.4.1 ;\
go get sigs.k8s.io/controller-tools/cmd/controller-gen@v0.15.0 ;\
rm -rf $$CONTROLLER_GEN_TMP_DIR ;\
}
CONTROLLER_GEN=$(GOBIN)/controller-gen

16
OWNERS
View File

@ -1,12 +1,8 @@
approvers:
- chendave
- fisherxu
- jaypume
- kevin-wangzefeng
- llhuii
- sids-b
- ugvddm
reviewers:
- JimmyYang20
- TymonXie
- sig-ai-co-chairs
- sig-ai-tech-leads
reviewers:
- tangming1996
- MooreZheng
- sig-ai-project-maintainers

10
OWNERS_ALIASES Normal file
View File

@ -0,0 +1,10 @@
aliases:
sig-ai-co-chairs:
- MooreZheng
sig-ai-tech-leads:
- jaypume
- Ratuchetp
sig-ai-project-maintainers:
- Poorunga
- MooreZheng

View File

@ -71,6 +71,12 @@ Sedna consists of the following components
## Guides
### Documents
Documentation is located on [readthedoc.io](https://sedna.readthedocs.io/). These documents can help you understand Sedna better.
### Installation
Follow the [Sedna installation document](docs/setup/install.md) to install Sedna.
@ -78,7 +84,9 @@ Follow the [Sedna installation document](docs/setup/install.md) to install Sedna
Example1[Using Joint Inference Service in Helmet Detection Scenario](/examples/joint_inference/helmet_detection_inference/README.md).
Example2[Using Incremental Learning Job in Helmet Detection Scenario](/examples/incremental_learning/helmet_detection/README.md).
Example3[Using Federated Learning Job in Surface Defect Detection Scenario](/examples/federated_learning/surface_defect_detection/README.md).
Example4[Using Lifelong Learning Job in Thermal Comfort Prediction Scenario](/examples/lifelong_learning/atcii/README.md).
Example4[Using Federated Learning Job in YoLov5-based Object Detection](/examples/federated_learning/yolov5_coco128_mistnet/README.md).
Example5[Using Lifelong Learning Job in Thermal Comfort Prediction Scenario](/examples/lifelong_learning/atcii/README.md).
Example6[Using MultiEdge Inference Service to Track an Infected COVID-19 Carrier in Pandemic Scenarios](/examples/multiedgeinference/pedestrian_tracking/README.md).
## Roadmap
@ -103,13 +111,11 @@ If you need support, start with the [troubleshooting guide](./docs/troubleshooti
-->
If you have questions, feel free to reach out to us in the following ways:
- [slack channel](https://app.slack.com/client/TDZ5TGXQW/C01EG84REVB/details)
- [slack channel](https://kubeedge.io/docs/community/slack/)
<!--
## Contributing
If you're interested in being a contributor and want to get involved in developing the Sedna code, please see [CONTRIBUTING](CONTRIBUTING.md) for details on submitting patches and the contribution workflow.
-->
## License

View File

@ -58,15 +58,19 @@ Sedna由以下组件构建
## 文档
## 指南
### 文档
Sedna 在 [readthedoc.io](https://sedna.readthedocs.io/) 托管相关文档。 您可以根据这些文档更好地了解Sedna。
### 安装
Sedna的安装文档请参考[这里](/docs/setup/install.md)。
### 样例
样例1[大小模型协同推理](/examples/joint_inference/helmet_detection_inference/README.md)
样例2[边云协同增量学习](/examples/incremental_learning/helmet_detection/README.md)
样例3[边云协同联邦学习](/examples/federated_learning/surface_defect_detection/README.md)
样例4[边云协同终身学习](/examples/lifelong_learning/atcii/README.md)
样例3[边云协同联邦学习](/examples/federated_learning/surface_defect_detection/README.md)
样例4[边云协同联邦学习: 基于YoLov5的目标识别](/examples/federated_learning/yolov5_coco128_mistnet/README.md).
样例5[边云协同终身学习](/examples/lifelong_learning/atcii/README.md)
## 路标
* [2021 Q1 Roadmap](./docs/roadmap.md#2021-q1-roadmap)
@ -89,14 +93,14 @@ Sedna的安装文档请参考[这里](/docs/setup/install.md)。
-->
如果您有任何疑问,请以下方式与我们联系:
- [slack channel](https://app.slack.com/client/TDZ5TGXQW/C01EG84REVB/details)
- [slack channel](https://kubeedge.io/docs/community/slack/)
<!--
## 贡献
如果您有兴趣成为一个贡献者也想参与到Sedna的代码开发中
请查看[CONTRIBUTING](CONTRIBUTING.md)获取更多关于如何提交Patch和贡献的流程。
-->
## 许可证

View File

@ -0,0 +1,64 @@
apiVersion: sedna.io/v1alpha1
kind: FederatedLearningJob
metadata:
name: surface-defect-detection
spec:
transmitter: # option
ws: { } # option, by default
aggregationWorker:
model:
name: "surface-defect-detection-model"
template:
spec:
nodeName: "sedna-control-plane"
containers:
- image: kubeedge/sedna-example-federated-learning-surface-defect-detection-aggregation:v0.4.0
name: agg-worker
imagePullPolicy: IfNotPresent
env: # user defined environments
- name: "exit_round"
value: "10"
resources: # user defined resources
limits:
memory: 2Gi
trainingWorkers:
- dataset:
name: "edge1-surface-defect-detection-dataset"
template:
spec:
nodeName: "edge-node"
containers:
- image: kubeedge/sedna-example-federated-learning-surface-defect-detection-train:v0.4.0
name: train-worker
imagePullPolicy: IfNotPresent
args: [ "-i", "1" ]
env: # user defined environments
- name: "batch_size"
value: "32"
- name: "learning_rate"
value: "0.001"
- name: "epochs"
value: "1"
resources: # user defined resources
limits:
memory: 2Gi
- dataset:
name: "edge2-surface-defect-detection-dataset"
template:
spec:
nodeName: "edge-node"
containers:
- image: kubeedge/sedna-example-federated-learning-surface-defect-detection-train:v0.4.0
name: train-worker
imagePullPolicy: IfNotPresent
args: [ "-i", "2" ]
env: # user defined environments
- name: "batch_size"
value: "32"
- name: "learning_rate"
value: "0.001"
- name: "epochs"
value: "1"
resources: # user defined resources
limits:
memory: 2Gi

View File

@ -0,0 +1,89 @@
apiVersion: sedna.io/v1alpha1
kind: FederatedLearningJob
metadata:
name: yolo-v5
spec:
pretrainedModel: # option
name: "yolo-v5-pretrained-model"
transmitter: # option
ws: { } # option, by default
s3: # option, but at least one
aggDataPath: "s3://sedna/fl/aggregation_data"
credentialName: mysecret
aggregationWorker:
model:
name: "yolo-v5-model"
template:
spec:
nodeName: "sedna-control-plane"
containers:
- image: kubeedge/sedna-example-federated-learning-mistnet-yolo-aggregator:v0.4.0
name: agg-worker
imagePullPolicy: IfNotPresent
env: # user defined environments
- name: "cut_layer"
value: "4"
- name: "epsilon"
value: "100"
- name: "aggregation_algorithm"
value: "mistnet"
- name: "batch_size"
value: "32"
- name: "epochs"
value: "100"
resources: # user defined resources
limits:
memory: 8Gi
trainingWorkers:
- dataset:
name: "coco-dataset-1"
template:
spec:
nodeName: "edge-node"
containers:
- image: kubeedge/sedna-example-federated-learning-mistnet-yolo-client:v0.4.0
name: train-worker
imagePullPolicy: IfNotPresent
args: [ "-i", "1" ]
env: # user defined environments
- name: "cut_layer"
value: "4"
- name: "epsilon"
value: "100"
- name: "aggregation_algorithm"
value: "mistnet"
- name: "batch_size"
value: "32"
- name: "learning_rate"
value: "0.001"
- name: "epochs"
value: "1"
resources: # user defined resources
limits:
memory: 2Gi
- dataset:
name: "coco-dataset-2"
template:
spec:
nodeName: "edge-node"
containers:
- image: kubeedge/sedna-example-federated-learning-mistnet-yolo-client:v0.4.0
name: train-worker
imagePullPolicy: IfNotPresent
args: [ "-i", "2" ]
env: # user defined environments
- name: "cut_layer"
value: "4"
- name: "epsilon"
value: "100"
- name: "aggregation_algorithm"
value: "mistnet"
- name: "batch_size"
value: "32"
- name: "learning_rate"
value: "0.001"
- name: "epochs"
value: "1"
resources: # user defined resources
limits:
memory: 2Gi

View File

@ -1,4 +1,3 @@
kubectl create -f - <<EOF
apiVersion: sedna.io/v1alpha1
kind: LifelongLearningJob
metadata:

View File

@ -1,11 +1,9 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.15.0
name: datasets.sedna.io
spec:
group: sedna.io
@ -22,14 +20,19 @@ spec:
description: Dataset describes the data that a dataset resource should have
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
@ -50,9 +53,9 @@ spec:
- url
type: object
status:
description: DatasetStatus represents information about the status of
a dataset including the time a dataset updated, and number of samples
in a dataset
description: |-
DatasetStatus represents information about the status of a dataset
including the time a dataset updated, and number of samples in a dataset
properties:
numberOfSamples:
type: integer
@ -69,9 +72,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,9 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.15.0
name: models.sedna.io
spec:
group: sedna.io
@ -22,14 +20,19 @@ spec:
description: Model describes the data that a model resource should have
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
@ -38,6 +41,10 @@ spec:
properties:
credentialName:
type: string
device_soc_versions:
items:
type: string
type: array
format:
type: string
url:
@ -47,8 +54,9 @@ spec:
- url
type: object
status:
description: ModelStatus represents information about the status of a
model including the time a model updated, and metrics in a model
description: |-
ModelStatus represents information about the status of a model
including the time a model updated, and metrics in a model
properties:
metrics:
items:
@ -75,9 +83,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.14-alpine3.11 AS builder
# Add cross buildx improvement
# _speed_buildx_for_go_
FROM golang:1.22.9-alpine3.19 AS builder
LABEL stage=builder
ARG GO_LDFLAGS
@ -29,7 +31,7 @@ RUN make build WHAT=gm GO_LDFLAGS=$GO_LDFLAGS OUT_DIR=_output
# ALT: just using go build
# RUN CGO_ENABLED=0 go build -o _output/bin/sedna-gm -ldflags "$GO_LDFLAGS -w -s" cmd/sedna-gm/sedna-gm.go
FROM alpine:3.11
FROM alpine:3.19
COPY --from=builder /code/_output/bin/sedna-gm /usr/local/bin/sedna-gm

View File

@ -11,13 +11,19 @@ rules:
- datasets
- models
- jointinferenceservices
- featureextractionservices
- federatedlearningjobs
- incrementallearningjobs
- lifelonglearningjobs
- objectsearchservices
- objecttrackingservices
- reidjobs
- videoanalyticsjobs
verbs:
- get
- list
- watch
- patch
# update crd status
- apiGroups:
@ -27,22 +33,40 @@ rules:
- models/status
- jointinferenceservices/status
- federatedlearningjobs/status
- featureextractionservices/status
- incrementallearningjobs/status
- lifelonglearningjobs/status
- objectsearchservices/status
- objecttrackingservices/status
- reidjobs/status
- videoanalyticsjobs/status
verbs:
- get
- update
# current we implement ai features by k8s pods, services
# current we implement ai features by k8s pods, services, deployments
- apiGroups:
- ""
- "apps"
resources:
- deployments
- pods
verbs:
- create
- get
- list
- watch
- update
- delete
- apiGroups:
- "apps"
resources:
- deployments
verbs:
- create
- get
- list
- watch
- delete
- apiGroups:
@ -63,6 +87,7 @@ rules:
- nodes
verbs:
- get
- list
- apiGroups:
- ""
@ -70,6 +95,9 @@ rules:
- events
verbs:
- create
- patch
- watch
- delete
- list
- get
---

View File

@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View File

@ -0,0 +1,32 @@
apiVersion: v2
name: sedna
description: A Helm chart for Sedna
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: v0.6.0
dependencies:
- name: kb
version: 0.1.0
- name: gm
version: 0.1.0
- name: lc
version: 0.1.0

View File

@ -0,0 +1,26 @@
# Sedna Helm Charts
Visit https://github.com/kubeedge/sedna for more information.
## Install
```
$ git clone https://github.com/kubeedge/sedna.git
$ cd sedna
$ kubectl create namespace sedna
$ helm install sedna --namespace sedna ./build/helm/sedna
```
## Uninstall
```
$ helm uninstall sedna -n sedna
```
## Update CRDs
```
$ controller-gen crd:crdVersions=v1,allowDangerousTypes=true,maxDescLen=0 paths="./pkg/apis/sedna/v1alpha1" output:crd:artifacts:config=build/helm/sedna/crds
```
**NOTE: Set `maxDescLen=0` will generate crd yaml file without description field. Avoid too large data causing helm installation to fail. See [issue](https://github.com/helm/helm/issues/6711).**

View File

@ -0,0 +1,24 @@
apiVersion: v2
name: gm
description: A Helm chart for Sedna GM
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: v0.6.0

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: gm-config
namespace: sedna
data:
gm.yaml: |
kubeConfig: {{ .Values.kubeConfig }}
master: {{ .Values.master }}
namespace: {{ .Values.namespace }}
websocket:
address: {{ .Values.websocket.address }}
port: {{ .Values.websocket.port }}
localController:
server: {{ .Values.localController.server }}
knowledgeBaseServer:
server: {{ .Values.knowledgeBaseServer.server }}

View File

@ -0,0 +1,42 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: gm
labels:
sedna: gm
namespace: sedna
spec:
replicas: 1
selector:
matchLabels:
sedna: gm
template:
metadata:
labels:
sedna: gm
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/edge
operator: DoesNotExist
serviceAccountName: sedna
containers:
- name: gm
image: {{ .Values.image }}
command: ["sedna-gm", "--config", "/config/gm.yaml", "-v2"]
volumeMounts:
- name: gm-config
mountPath: /config
resources:
requests:
memory: {{ .Values.resources.requests.memory }}
cpu: {{ .Values.resources.requests.cpu }}
limits:
memory: {{ .Values.resources.limits.memory }}
volumes:
- name: gm-config
configMap:
name: gm-config

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: gm
namespace: sedna
spec:
selector:
sedna: gm
type: ClusterIP
ports:
- protocol: TCP
port: 9000
targetPort: 9000
name: "tcp-0"

View File

@ -0,0 +1,18 @@
image: kubeedge/sedna-gm:v0.6.0
resources:
requests:
memory: 32Mi
cpu: 100m
limits:
memory: 256Mi
# gm-config
kubeConfig: ""
master: ""
namespace: ""
websocket:
address: 0.0.0.0
port: 9000
localController:
server: http://localhost:9100
knowledgeBaseServer:
server: http://kb.sedna:9020

View File

@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/

View File

@ -0,0 +1,24 @@
apiVersion: v2
name: kb
description: A Helm chart for Sedna KB
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: v0.6.0

View File

@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: kb
labels:
sedna: kb
namespace: sedna
spec:
replicas: 1
selector:
matchLabels:
sedna: kb
template:
metadata:
labels:
sedna: kb
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/edge
operator: DoesNotExist
serviceAccountName: sedna
containers:
- name: kb
imagePullPolicy: IfNotPresent
image: {{ .Values.image }}
env:
- name: KB_URL
value: "sqlite:///db/kb.sqlite3"
volumeMounts:
- name: kb-url
mountPath: /db
resources:
requests:
memory: {{ .Values.resources.requests.memory }}
cpu: {{ .Values.resources.requests.cpu }}
limits:
memory: {{ .Values.resources.limits.memory }}
volumes:
- name: kb-url
hostPath:
path: /opt/kb-data
type: DirectoryOrCreate

View File

@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: kb
namespace: sedna
spec:
selector:
sedna: kb
type: ClusterIP
ports:
- protocol: TCP
port: 9020
targetPort: 9020
name: "tcp-0"

View File

@ -0,0 +1,7 @@
image: kubeedge/sedna-kb:v0.6.0
resources:
requests:
memory: 256Mi
cpu: 100m
limits:
memory: 512Mi

View File

@ -0,0 +1,24 @@
apiVersion: v2
name: lc
description: A Helm chart for Sedna LC
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
# to be deployed.
#
# Library charts provide useful utilities or functions for the chart developer. They're included as
# a dependency of application charts to inject those utilities and functions into the rendering
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: v0.6.0

View File

@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: DaemonSet
metadata:
labels:
sedna: lc
name: lc
namespace: sedna
spec:
selector:
matchLabels:
sedna: lc
template:
metadata:
labels:
sedna: lc
spec:
containers:
- name: lc
image: {{ .Values.image }}
env:
- name: GM_ADDRESS
value: gm.sedna:9000
- name: BIND_PORT
value: "9100"
- name: NODENAME
valueFrom:
fieldRef:
fieldPath: spec.nodeName
- name: ROOTFS_MOUNT_DIR
value: /rootfs
resources:
requests:
memory: {{ .Values.resources.requests.memory }}
cpu: {{ .Values.resources.requests.cpu }}
limits:
memory: {{ .Values.resources.limits.memory }}
volumeMounts:
- name: localcontroller
mountPath: /rootfs
volumes:
- name: localcontroller
hostPath:
path: /
restartPolicy: Always
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet

View File

@ -0,0 +1,7 @@
image: kubeedge/sedna-lc:v0.6.0
resources:
requests:
memory: 32Mi
cpu: 100m
limits:
memory: 128Mi

View File

@ -0,0 +1,74 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
name: datasets.sedna.io
spec:
group: sedna.io
names:
kind: Dataset
listKind: DatasetList
plural: datasets
singular: dataset
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Dataset describes the data that a dataset resource should have
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: DatasetSpec is a description of a dataset
properties:
credentialName:
type: string
format:
type: string
nodeName:
type: string
url:
type: string
required:
- format
- nodeName
- url
type: object
status:
description: |-
DatasetStatus represents information about the status of a dataset
including the time a dataset updated, and number of samples in a dataset
properties:
numberOfSamples:
type: integer
updateTime:
format: date-time
type: string
required:
- numberOfSamples
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,85 @@
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
name: models.sedna.io
spec:
group: sedna.io
names:
kind: Model
listKind: ModelList
plural: models
singular: model
scope: Namespaced
versions:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Model describes the data that a model resource should have
properties:
apiVersion:
description: |-
APIVersion defines the versioned schema of this representation of an object.
Servers should convert recognized schemas to the latest internal value, and
may reject unrecognized values.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
type: string
kind:
description: |-
Kind is a string value representing the REST resource this object represents.
Servers may infer this from the endpoint the client submits requests to.
Cannot be updated.
In CamelCase.
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
type: string
metadata:
type: object
spec:
description: ModelSpec is a description of a model
properties:
credentialName:
type: string
device_soc_versions:
items:
type: string
type: array
format:
type: string
url:
type: string
required:
- format
- url
type: object
status:
description: |-
ModelStatus represents information about the status of a model
including the time a model updated, and metrics in a model
properties:
metrics:
items:
description: Metric describes the data that a resource model metric
should have
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
updateTime:
format: date-time
type: string
type: object
required:
- spec
type: object
served: true
storage: true
subresources:
status: {}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,4 @@
*******************
***** SUCCESS *****
*******************
* Visit https://github.com/kubeedge/sedna for more information.

View File

@ -0,0 +1,114 @@
# cluster role
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: sedna
rules:
# list/watch these ai-feature crds
- apiGroups:
- sedna.io
resources:
- datasets
- models
- jointinferenceservices
- federatedlearningjobs
- incrementallearningjobs
- lifelonglearningjobs
- objectsearchservices
- objecttrackingservices
- reidjobs
- videoanalyticsjobs
- featureextractionservices
verbs:
- get
- list
- watch
- patch
# update crd status
- apiGroups:
- sedna.io
resources:
- datasets/status
- models/status
- jointinferenceservices/status
- federatedlearningjobs/status
- incrementallearningjobs/status
- lifelonglearningjobs/status
- objectsearchservices/status
- objecttrackingservices/status
- reidjobs/status
- videoanalyticsjobs/status
- featureextractionservices/status
verbs:
- get
- update
# current we implement ai features by k8s pods, services, deployments
- apiGroups:
- ""
resources:
- pods
verbs:
- create
- get
- list
- watch
- delete
- apiGroups:
- "apps"
resources:
- deployments
verbs:
- create
- get
- list
- watch
- delete
- apiGroups:
- ""
resources:
- services
- secrets
- configmaps
verbs:
- create
- list
- get
- delete
- apiGroups:
- ""
resources:
- nodes
verbs:
- get
- apiGroups:
- ""
resources:
- events
verbs:
- create
- list
- get
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: sedna
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: sedna
subjects:
- kind: ServiceAccount
name: sedna
namespace: sedna
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: sedna
namespace: sedna

View File

@ -0,0 +1,37 @@
kb:
image: kubeedge/sedna-kb:v0.6.0
resources:
requests:
memory: 256Mi
cpu: 100m
limits:
memory: 512Mi
gm:
image: kubeedge/sedna-gm:v0.6.0
resources:
requests:
memory: 32Mi
cpu: 100m
limits:
memory: 256Mi
# gm-config
kubeConfig: ""
master: ""
namespace: ""
websocket:
address: 0.0.0.0
port: 9000
localController:
server: http://localhost:9100
knowledgeBaseServer:
server: http://kb.sedna:9020
lc:
image: kubeedge/sedna-lc:v0.6.0
resources:
requests:
memory: 32Mi
cpu: 100m
limits:
memory: 128Mi

View File

@ -12,15 +12,15 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM python:3.6-slim
FROM python:3.9-slim
RUN pip install colorlog~=4.7.2
RUN pip install PyYAML~=5.4.1
RUN pip install fastapi~=0.63.0
RUN pip install starlette~=0.13.6
RUN pip install pydantic~=1.8.1
RUN pip install joblib~=1.0.1
RUN pip install pandas~=1.1.5
RUN pip install joblib~=1.2.0
RUN pip install pandas
RUN pip install uvicorn~=0.14.0
RUN pip install python-multipart~=0.0.5
RUN pip install SQLAlchemy~=1.4.7

View File

@ -12,7 +12,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.14-alpine3.11 AS builder
# Add cross buildx improvement
# LC has built sqlite3 which requires CGO with CGO_ENABLED=1
# _speed_buildx_for_cgo_alpine_
FROM golang:1.22.9-alpine3.19 AS builder
LABEL stage=builder
ARG GO_LDFLAGS
@ -27,7 +30,7 @@ COPY . .
RUN make build WHAT=lc GO_LDFLAGS=$GO_LDFLAGS OUT_DIR=_output
FROM alpine:3.11
FROM alpine:3.19
COPY --from=builder /code/_output/bin/sedna-lc /usr/local/bin/sedna-lc

View File

@ -0,0 +1,27 @@
from prometheus_client import start_http_server,Gauge
import os
import time
Incremental_num = Gauge('Incremental_HardSamples', 'Hard Samples for Incremental', ['hardSample'])
def get_incremental_learning_metrics(hard_samples_path):
Incremental_num.labels(hardSample=True).set(len(os.listdir(hard_samples_path)))
if __name__ == "__main__":
'''
These are paths in demo test cases.
If you have run your own tasks, please change the following paths to the paths you used.
If you want to monitor multiple tasks, you need to change this exporter a little.
When Sedna is available to show metrics like inference count in -oyaml, there is no need to run this exporter.
'''
# incremental learning
hard_samples_path = "/incremental_learning/he"
start_http_server(8000)
while True:
get_incremental_learning_metrics(hard_samples_path)
time.sleep(10)

View File

@ -0,0 +1,29 @@
from prometheus_client import start_http_server,Gauge
import os
import time
JointInference_num = Gauge('JointInference_InferenceCount','InferenceCount for Joint Inference',['type'])
def get_joint_inference_metrics(cloud_inference_path, output_path):
JointInference_num.labels(type='Edge').set(len(os.listdir(output_path)))
JointInference_num.labels(type='Cloud').set(len(os.listdir(cloud_inference_path)))
if __name__ == "__main__":
'''
These are paths in demo test cases.
If you have run your own tasks, please change the following paths to the paths you used.
If you want to monitor multiple tasks, you need to change this exporter a little.
When Sedna is available to show metrics like inference count in -oyaml, there is no need to run this exporter.
'''
# joint inference
cloud_inference_path = "/joint_inference/output/hard_example_cloud_inference_output"
output_path = "/joint_inference/output/output"
start_http_server(8001)
while True:
get_joint_inference_metrics(cloud_inference_path, output_path)
time.sleep(10)

View File

@ -0,0 +1,20 @@
module pkl-exporter
go 1.17
require (
github.com/mattn/go-sqlite3 v1.14.15
github.com/prometheus/client_golang v1.13.0
)
require (
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
github.com/prometheus/client_model v0.2.0 // indirect
github.com/prometheus/common v0.37.0 // indirect
github.com/prometheus/procfs v0.8.0 // indirect
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
google.golang.org/protobuf v1.28.1 // indirect
)

View File

@ -0,0 +1,374 @@
package main
import (
"database/sql"
"flag"
"fmt"
_ "github.com/mattn/go-sqlite3"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promauto"
"github.com/prometheus/client_golang/prometheus/promhttp"
"math/rand"
"os"
"path/filepath"
"strconv"
"strings"
"log"
"net/http"
"time"
)
var addr = flag.String("listen-address", ":7070", "The address to listen on for HTTP requests.")
var metrics = []struct {
name string
label string
note string
labelValues string
value float64
}{
{"metric1", "method,handler", "This is metric1", "a, b", 0},
{"metric2", "method,handler", "This is metric2", "a, b", 0},
{"Recall", "model_name", "Model Recall", "a", 0},
{"Precision", "model_name", "Model Precision", "b", 0},
}
func recordTaskNumM(db *sql.DB) {
go func() {
for {
rows, err := db.Query("SELECT a.id, a.name, a.task_num, b.task_attr FROM ll_task_grp as a left join ll_tasks as b where a.id=b.id;")
if err != nil {
fmt.Println(err)
}
for rows.Next() {
var id int
var name string
var taskNum int
var attr string
err = rows.Scan(&id, &name, &taskNum, &attr)
g, err := opsTaskTaskNum.GetMetricWithLabelValues(strconv.Itoa(id), name, attr)
if err == nil {
g.Set(float64(taskNum))
}
}
time.Sleep(1 * time.Second)
}
}()
}
func recordTaskSampleMStatusM(db *sql.DB) {
go func() {
for {
rows, err := db.Query("SELECT id, name, deploy, sample_num, task_num FROM ll_task_grp")
if err != nil {
fmt.Println(err)
}
for rows.Next() {
var id int
var name string
var deploy bool
var sampleNum int
var taskNum int
err = rows.Scan(&id, &name, &deploy, &sampleNum, &taskNum)
g, err := opsTaskSampleNum.GetMetricWithLabelValues(strconv.Itoa(id), name)
if err == nil {
g.Set(float64(sampleNum))
}
g, err = opsDeployStatus.GetMetricWithLabelValues(strconv.Itoa(id), name)
if err == nil {
if deploy {
g.Set(1)
} else {
g.Set(0)
}
}
}
time.Sleep(1 * time.Second)
}
}()
}
func recordKnownTasks(db *sql.DB) {
go func() {
for {
rows, err := db.Query("SELECT count(*) as c from ll_task_models where is_current = 1")
if err != nil {
fmt.Println(err)
}
for rows.Next() {
var c int
err = rows.Scan(&c)
g, err := opsKnowTaskNum.GetMetricWithLabelValues()
if err == nil {
g.Set(float64(c))
}
}
time.Sleep(1 * time.Second)
}
}()
}
func recordTaskStatus(db *sql.DB) {
go func() {
for {
rows, err := db.Query("SELECT task_id, model_url, is_current as c from ll_task_models")
if err != nil {
fmt.Println(err)
}
for rows.Next() {
var taskId int
var modelUrl string
var isCurrent bool
err = rows.Scan(&taskId, &modelUrl, &isCurrent)
g, err := opsTaskStatus.GetMetricWithLabelValues(strconv.Itoa(taskId), modelUrl)
if err == nil {
if isCurrent {
g.Set(1)
} else {
g.Set(0)
}
}
}
time.Sleep(1 * time.Second)
}
}()
}
func recordTaskRelationShip(db *sql.DB) {
go func() {
for {
rows, err := db.Query("select grp_id, task_id, transfer_radio from ll_task_relation")
if err != nil {
fmt.Println(err)
}
for rows.Next() {
var grpId int
var taskId int
var transferRatio float64
err = rows.Scan(&grpId, &taskId, &transferRatio)
g, err := opsTaskRelationShip.GetMetricWithLabelValues(strconv.Itoa(grpId), strconv.Itoa(taskId))
if err == nil {
g.Set(transferRatio)
}
}
time.Sleep(1 * time.Second)
}
}()
}
func customMetrics(db *sql.DB, registry *prometheus.Registry) {
// mock
sql := "insert into metric (name, label, note, last_time) values (?, ?, ?, time('now'))"
rows, err := db.Query("select count(*) from metric")
if err != nil {
fmt.Println(err)
}
mock := false
for rows.Next() {
var count int
err = rows.Scan(&count)
if err != nil {
fmt.Println(err)
}
mock = count == 0
}
if mock {
for i, metric := range metrics {
_, err := db.Exec(sql, metric.name, metric.label, metric.note)
if err != nil {
fmt.Println(err)
}
_, err = db.Exec("insert into metric_value (metric_id, label_value, value, last_time) values (?, ?, ?, time('now'))",
i, metric.labelValues, metric.value)
if err != nil {
fmt.Println(err)
}
}
mockV := 1.0
go func() {
for {
_, err := db.Exec("update metric_value set value=?", mockV)
if err != nil {
fmt.Println(err)
}
mockV = rand.Float64()
time.Sleep(time.Second)
}
}()
}
// register metrics
registeredMetrics := make([]*prometheus.GaugeVec, 0, 4)
rows, err = db.Query("select name, label, note from metric order by id asc")
if err != nil {
fmt.Println(err)
}
for rows.Next() {
var name string
var label string
var note string
err = rows.Scan(&name, &label, &note)
labels := strings.Split(label, ",")
for i := range labels {
labels[i] = strings.TrimSpace(labels[i])
}
met := promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: name,
Help: note,
}, labels)
registry.MustRegister(met)
registeredMetrics = append(registeredMetrics, met)
}
go func() {
for {
rows, err := db.Query("select metric_id, label_value, `value` from metric_value")
if err != nil {
fmt.Println(err)
}
for rows.Next() {
var metricId int
var labelValue string
var value float64
err = rows.Scan(&metricId, &labelValue, &value)
labelValues := strings.Split(labelValue, ",")
for i, _ := range labelValues {
labelValues[i] = strings.TrimSpace(labelValues[i])
}
if len(registeredMetrics) <= metricId || registeredMetrics[metricId] == nil {
continue
}
g, err := registeredMetrics[metricId].GetMetricWithLabelValues(labelValues...)
if err == nil {
g.Set(value)
}
}
time.Sleep(time.Second)
}
}()
}
func fileScanner(p string, suffix string) {
go func() {
for {
num := 0
root := p
err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
if strings.HasSuffix(path, suffix) {
num += 1
}
return nil
})
if err != nil {
println(err)
}
g, err := opsFilesSuffixNum.GetMetricWithLabelValues()
if err == nil {
g.Set(float64(num))
}
num = 0
time.Sleep(time.Second)
}
}()
}
var (
// task metrics
opsKnowTaskNum = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "know_task_num",
Help: "Number of known tasks in the knowledge base",
}, []string{})
opsTaskSampleNum = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "task_sample_num",
Help: "The total number of samples in task",
}, []string{"id", "name"})
opsTaskTaskNum = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "task_num",
Help: "The total number of tasks",
}, []string{"id", "name", "attr"})
opsTaskRelationShip = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "task_relation_ship",
Help: "Migration relationship between tasks",
}, []string{"grp_id", "task_id"})
opsTaskStatus = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "task_status",
Help: "Whether the task can be deployed",
}, []string{"task_id", "model_url"})
opsDeployStatus = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "deploy_status",
Help: "Enum(Waiting, OK, NotOK)",
}, []string{"id", "name"})
opsFilesSuffixNum = promauto.NewGaugeVec(prometheus.GaugeOpts{
Name: "files_with_suffix_num",
Help: "The number of files with suffix",
}, []string{})
)
func main() {
var scannerPath string
var scannerSuffix string
flag.StringVar(&scannerPath, "scanner-path", "-", "file scanner path")
flag.StringVar(&scannerSuffix, "scanner-suffix", "", "file scanner suffix")
flag.Parse()
if scannerPath != "-" {
fileScanner(scannerPath, scannerSuffix)
}
dbSrc := "kb.sqlite3"
db, err := sql.Open("sqlite3", dbSrc)
if err != nil {
fmt.Printf("Can't open %s\n", dbSrc)
return
}
dropTableMetric := "drop table metric"
dropTableMetricValue := "drop table metric_value"
_, err = db.Exec(dropTableMetric)
if err != nil {
println(err)
}
_, err = db.Exec(dropTableMetricValue)
if err != nil {
println(err)
}
createTableMetric := "create table if not exists metric(id int primary key, `name` text, label text, note text, last_time timestamp)"
createTableMetricValue := "create table if not exists metric_value(id int primary key, metric_id int, label_value text, `value` float, last_time timestamp)"
_, err = db.Exec(createTableMetric)
if err != nil {
println(err)
}
_, err = db.Exec(createTableMetricValue)
if err != nil {
println(err)
}
// Create a new registry.
reg := prometheus.NewRegistry()
recordTaskNumM(db)
recordTaskSampleMStatusM(db)
recordKnownTasks(db)
recordTaskRelationShip(db)
recordTaskStatus(db)
customMetrics(db, reg)
// Add Go module build info.
reg.MustRegister(opsKnowTaskNum)
reg.MustRegister(opsTaskSampleNum)
reg.MustRegister(opsTaskTaskNum)
reg.MustRegister(opsTaskRelationShip)
reg.MustRegister(opsTaskStatus)
reg.MustRegister(opsDeployStatus)
reg.MustRegister(opsFilesSuffixNum)
// Expose the registered metrics via HTTP.
http.Handle("/metrics", promhttp.HandlerFor(
reg,
promhttp.HandlerOpts{
// Opt into OpenMetrics to support exemplars.
EnableOpenMetrics: true,
},
))
log.Fatal(http.ListenAndServe(*addr, nil))
}

View File

@ -0,0 +1,419 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 5,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 24,
"panels": [],
"title": "Algorithm Metrics (Federated Learning)",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "namespace"
},
"properties": [
{
"id": "custom.width",
"value": 94
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 1
},
"id": 20,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "kube_sedna_io_v1alpha1_FederatedLearningJob_TrainNodesInfo{name=\"$AI_task_name\"}",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
}
],
"title": "Train Nodes",
"transformations": [
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Value": true,
"__name__": true,
"app_kubernetes_io_component": true,
"app_kubernetes_io_instance": true,
"app_kubernetes_io_managed_by": true,
"app_kubernetes_io_name": true,
"app_kubernetes_io_part_of": true,
"app_kubernetes_io_version": true,
"datasetName": true,
"datasetUrl": true,
"helm_sh_chart": true,
"instance": true,
"job": true,
"node": true,
"service": true
},
"indexByName": {},
"renameByName": {
"name": "task name"
}
}
}
],
"type": "table"
},
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"custom": {
"align": "auto",
"displayMode": "auto",
"inspect": false
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": [
{
"matcher": {
"id": "byName",
"options": "nodeName"
},
"properties": [
{
"id": "custom.width",
"value": 98
}
]
},
{
"matcher": {
"id": "byName",
"options": "url"
},
"properties": [
{
"id": "custom.width",
"value": 99
}
]
}
]
},
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 9
},
"id": 19,
"options": {
"footer": {
"fields": "",
"reducer": [
"sum"
],
"show": false
},
"frameIndex": 0,
"showHeader": true,
"sortBy": []
},
"pluginVersion": "9.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "kube_sedna_io_v1alpha1_FederatedLearningJob_TrainNodesInfo{name=\"$AI_task_name\"}",
"format": "table",
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"editorMode": "builder",
"exemplar": false,
"expr": "kube_sedna_io_v1alpha1_Dataset_numberOfSamples",
"format": "table",
"hide": false,
"instant": true,
"legendFormat": "__auto",
"range": false,
"refId": "B"
}
],
"title": "Node Sample Num",
"transformations": [
{
"id": "seriesToColumns",
"options": {
"byField": "datasetName"
}
},
{
"id": "organize",
"options": {
"excludeByName": {
"Time": true,
"Time 1": true,
"Time 2": true,
"Value": true,
"Value #A": true,
"Value #B": false,
"__name__": true,
"__name__ 1": true,
"__name__ 2": true,
"app_kubernetes_io_component": true,
"app_kubernetes_io_component 1": true,
"app_kubernetes_io_component 2": true,
"app_kubernetes_io_instance": true,
"app_kubernetes_io_instance 1": true,
"app_kubernetes_io_instance 2": true,
"app_kubernetes_io_managed_by": true,
"app_kubernetes_io_managed_by 1": true,
"app_kubernetes_io_managed_by 2": true,
"app_kubernetes_io_name": true,
"app_kubernetes_io_name 1": true,
"app_kubernetes_io_name 2": true,
"app_kubernetes_io_part_of": true,
"app_kubernetes_io_part_of 1": true,
"app_kubernetes_io_part_of 2": true,
"app_kubernetes_io_version": true,
"app_kubernetes_io_version 2": true,
"crd_type": true,
"crd_type 1": true,
"crd_type 2": true,
"datasetUrl": false,
"helm_sh_chart": true,
"helm_sh_chart 1": true,
"helm_sh_chart 2": true,
"instance": true,
"instance 1": true,
"instance 2": true,
"job": true,
"job 1": true,
"job 2": true,
"namespace 1": true,
"namespace 2": true,
"node": true,
"node 1": true,
"node 2": true,
"service": true,
"service 1": true,
"service 2": true
},
"indexByName": {
"Time": 3,
"Value": 18,
"__name__": 4,
"app_kubernetes_io_component": 5,
"app_kubernetes_io_instance": 6,
"app_kubernetes_io_managed_by": 7,
"app_kubernetes_io_name": 8,
"app_kubernetes_io_part_of": 9,
"app_kubernetes_io_version": 10,
"crd_type": 11,
"datasetUrl": 12,
"helm_sh_chart": 13,
"instance": 14,
"job": 15,
"name": 1,
"namespace": 0,
"node": 16,
"nodeName": 2,
"service": 17
},
"renameByName": {
"Value #B": "NumberOfSamples",
"name": "task name",
"name 2": "name",
"service": "",
"url": ""
}
}
},
{
"id": "filterByValue",
"options": {
"filters": [
{
"config": {
"id": "isNotNull",
"options": {}
},
"fieldName": "task name"
}
],
"match": "any",
"type": "include"
}
}
],
"type": "table"
}
],
"refresh": "30s",
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "surface-defect-detection",
"value": "surface-defect-detection"
},
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"definition": "label_values(kube_sedna_io_v1alpha1_FederatedLearningJob_StageConditionStatus, name)",
"hide": 0,
"includeAll": false,
"label": "AI Task Name",
"multi": false,
"name": "AI_task_name",
"options": [],
"query": {
"query": "label_values(kube_sedna_io_v1alpha1_FederatedLearningJob_StageConditionStatus, name)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Algorithm Metrics(Federated Learning)",
"uid": "fzfVlS74z",
"version": 4,
"weekStart": ""
}

View File

@ -0,0 +1,274 @@
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 3,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 33,
"panels": [],
"title": "Algorithm Metrics (Joint Inference)",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 0,
"y": 1
},
"id": 35,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"editorMode": "builder",
"expr": "JointInference_InferenceCount{type=\"Edge\"}",
"range": true,
"refId": "A"
}
],
"title": "EdgeInferenceCount",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 8,
"y": 1
},
"id": 37,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"editorMode": "builder",
"expr": "JointInference_InferenceCount{type=\"Cloud\"}",
"range": true,
"refId": "A"
}
],
"title": "CloudInferenceCount",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 8,
"x": 16,
"y": 1
},
"id": 36,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.0.5",
"targets": [
{
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"editorMode": "builder",
"expr": "JointInference_InferenceCount{type=\"Cloud\"}",
"range": true,
"refId": "A"
}
],
"title": "HardSampleNum",
"type": "stat"
}
],
"refresh": "30s",
"schemaVersion": 36,
"style": "dark",
"tags": [],
"templating": {
"list": [
{
"current": {
"selected": false,
"text": "helmet-detection-inference-example",
"value": "helmet-detection-inference-example"
},
"datasource": {
"type": "prometheus",
"name": "Prometheus"
},
"definition": "label_values(kube_sedna_io_v1alpha1_JointInferenceService_StageConditionStatus, name)",
"hide": 0,
"includeAll": false,
"label": "AI Task Name",
"multi": false,
"name": "AI_task_name",
"options": [],
"query": {
"query": "label_values(kube_sedna_io_v1alpha1_JointInferenceService_StageConditionStatus, name)",
"refId": "StandardVariableQuery"
},
"refresh": 1,
"regex": "",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "",
"title": "Algorithm Metrics(Joint Inference)",
"uid": "vTS0QS7Vk",
"version": 3,
"weekStart": ""
}

Some files were not shown because too many files have changed in this diff Show More