refactor(secret): use server API types for secret #1209
Merged
Codecov / codecov/project
failed
Oct 17, 2024 in 0s
55.17% (target 90.00%)
View this Pull Request on Codecov
55.17% (target 90.00%)
Details
Codecov Report
Attention: Patch coverage is 95.54264%
with 23 lines
in your changes missing coverage. Please review.
Project coverage is 55.17%. Comparing base (
b0e091f
) to head (9f7086c
).
Files with missing lines | Patch % | Lines |
---|---|---|
api/types/secret.go | 95.30% | 13 Missing |
mock/server/secret.go | 0.00% | 4 Missing |
api/secret/create.go | 0.00% | 2 Missing |
api/admin/secret.go | 0.00% | 1 Missing |
api/secret/list.go | 0.00% | 1 Missing |
api/secret/update.go | 0.00% | 1 Missing |
api/webhook/post.go | 0.00% | 1 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #1209 +/- ##
==========================================
- Coverage 56.17% 55.17% -1.00%
==========================================
Files 584 586 +2
Lines 21291 31488 +10197
==========================================
+ Hits 11960 17374 +5414
- Misses 8717 13500 +4783
Partials 614 614
Files with missing lines | Coverage Δ | |
---|---|---|
database/secret/create.go | 60.86% <100.00%> (-0.11%) |
⬇️ |
database/secret/delete.go | 100.00% <100.00%> (ø) |
|
database/secret/get.go | 88.46% <100.00%> (+0.96%) |
⬆️ |
database/secret/get_org.go | 90.62% <100.00%> (-0.29%) |
⬇️ |
database/secret/get_repo.go | 91.17% <100.00%> (-0.50%) |
⬇️ |
database/secret/get_team.go | 92.30% <100.00%> (+0.64%) |
⬆️ |
database/secret/list.go | 76.92% <100.00%> (+1.92%) |
⬆️ |
database/secret/list_org.go | 82.35% <100.00%> (ø) |
|
database/secret/list_repo.go | 83.01% <100.00%> (-0.32%) |
⬇️ |
database/secret/list_team.go | 83.78% <100.00%> (ø) |
|
... and 19 more |
Loading