AliyunContainerService / kube-eventer

kube-eventer emit kubernetes events to sinks
Apache License 2.0
1.01k stars 278 forks source link

Feature/mongo sink #180

Closed JarHMJ closed 3 years ago

JarHMJ commented 3 years ago

What type of PR is this? PR类型是什么?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind api-change /kind bug /kind cleanup /kind deprecation /kind design /kind documentation

What this PR does / why we need it: 这个PR解决了什么问题: 新增mongodb sink

Which issue(s) this PR fixes: PR相关联issue: 无 Fixes #

Does this PR introduce a breaking change?: PR带来的破坏性变更: 引入go.mongodb.org/mongo-driver v1.4.6

Test/Final result: 测试/最终运行结果: image

codecov-commenter commented 3 years ago

Codecov Report

Merging #180 (0342568) into master (1be989d) will decrease coverage by 0.12%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #180      +/-   ##
==========================================
- Coverage   50.24%   50.12%   -0.13%     
==========================================
  Files          28       28              
  Lines        1606     1610       +4     
==========================================
  Hits          807      807              
- Misses        710      714       +4     
  Partials       89       89              
Impacted Files Coverage Δ
sinks/factory.go 0.00% <0.00%> (ø)
sinks/webhook/webhook.go 24.21% <0.00%> (-0.26%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 1be989d...0342568. Read the comment docs.

JarHMJ commented 3 years ago

Too much vendor update. Could you remove Irrelevant dependencies.

已经移除多余的vendor,只增加了go.mongodb.org/mongo-driver