everoute / ipam

everoute ipam for everoute cni and ecp cni
1 stars 1 forks source link

feat: ipam func add context param #26

Closed qingwusunny closed 9 months ago

codecov[bot] commented 10 months ago

Codecov Report

Attention: 53 lines in your changes are missing coverage. Please review.

Comparison is base (21e70dc) 74.85% compared to head (8bcc64c) 70.45%. Report is 4 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/everoute/ipam/pull/26/graphs/tree.svg?width=650&height=150&src=pr&token=ol7PVNGwvq&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute)](https://app.codecov.io/gh/everoute/ipam/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute) ```diff @@ Coverage Diff @@ ## main #26 +/- ## ========================================== - Coverage 74.85% 70.45% -4.41% ========================================== Files 7 9 +2 Lines 513 643 +130 ========================================== + Hits 384 453 +69 - Misses 106 156 +50 - Partials 23 34 +11 ``` | [Files](https://app.codecov.io/gh/everoute/ipam/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute) | Coverage Δ | | |---|---|---| | [pkg/cron/clean\_stale\_ip.go](https://app.codecov.io/gh/everoute/ipam/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2Nyb24vY2xlYW5fc3RhbGVfaXAuZ28=) | `85.71% <100.00%> (+0.71%)` | :arrow_up: | | [pkg/ipam/ipam.go](https://app.codecov.io/gh/everoute/ipam/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2lwYW0vaXBhbS5nbw==) | `75.31% <46.15%> (ø)` | | | [pkg/cron/statefulset.go](https://app.codecov.io/gh/everoute/ipam/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2Nyb24vc3RhdGVmdWxzZXQuZ28=) | `69.76% <69.76%> (ø)` | | | [pkg/controller/statefulset.go](https://app.codecov.io/gh/everoute/ipam/pull/26?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2NvbnRyb2xsZXIvc3RhdGVmdWxzZXQuZ28=) | `52.17% <52.17%> (ø)` | | ... and [2 files with indirect coverage changes](https://app.codecov.io/gh/everoute/ipam/pull/26/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute)