foriequal0 / pod-graceful-drain

You don't need `lifecycle: { preStop: { exec: { command: ["sleep", "30"] } } }`
Apache License 2.0
251 stars 17 forks source link

Refactoring #14

Closed foriequal0 closed 3 years ago

codecov-io commented 3 years ago

Codecov Report

Merging #14 (fc96b81) into main (26264bc) will increase coverage by 4.87%. The diff coverage is 56.25%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   54.97%   59.84%   +4.87%     
==========================================
  Files           6        7       +1     
  Lines         382      391       +9     
==========================================
+ Hits          210      234      +24     
+ Misses        150      131      -19     
- Partials       22       26       +4     
Impacted Files Coverage Δ
...nternal/pkg/core/intercepted_admission_response.go 0.00% <0.00%> (ø)
internal/pkg/core/pod_graceful_drain.go 42.85% <52.32%> (+5.56%) :arrow_up:
internal/pkg/core/pod_mutate.go 54.34% <54.34%> (ø)
internal/pkg/core/service.go 60.71% <75.00%> (+5.71%) :arrow_up:
internal/pkg/core/pod_state.go 94.11% <77.77%> (+17.37%) :arrow_up:
internal/pkg/core/delayer.go 97.18% <90.00%> (+6.64%) :arrow_up:

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 26264bc...fc96b81. Read the comment docs.