everoute / ipam

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

feat: use apireader to get pod and statefulset in period clean stale ip process #28

Closed qingwusunny closed 9 months ago

codecov[bot] commented 9 months ago

Codecov Report

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

Comparison is base (b297233) 70.45% compared to head (c65b56e) 69.63%.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/everoute/ipam/pull/28/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/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute) ```diff @@ Coverage Diff @@ ## main #28 +/- ## ========================================== - Coverage 70.45% 69.63% -0.82% ========================================== Files 9 9 Lines 643 662 +19 ========================================== + Hits 453 461 +8 - Misses 156 164 +8 - Partials 34 37 +3 ``` | [Files](https://app.codecov.io/gh/everoute/ipam/pull/28?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/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2Nyb24vY2xlYW5fc3RhbGVfaXAuZ28=) | `86.36% <100.00%> (+0.64%)` | :arrow_up: | | [pkg/cron/statefulset.go](https://app.codecov.io/gh/everoute/ipam/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2Nyb24vc3RhdGVmdWxzZXQuZ28=) | `69.76% <100.00%> (ø)` | | | [pkg/cron/pod.go](https://app.codecov.io/gh/everoute/ipam/pull/28?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=everoute#diff-cGtnL2Nyb24vcG9kLmdv) | `60.65% <52.00%> (-9.12%)` | :arrow_down: |