Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for wireguard predown hook #10

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

xeptore
Copy link
Owner

@xeptore xeptore commented Mar 24, 2023

  • increase portability of mock code generation make target
  • add unavailable/invalid wg device test case
  • add go-report-card badge to readme
  • add wg interface dump parser
  • fix wg peer download/upload bytes mapping
  • run build ci workflow for pull request

Closes #9.

@xeptore xeptore self-assigned this Mar 24, 2023
pkg/dump/parse.go Fixed Show fixed Hide fixed
pkg/dump/parse.go Fixed Show fixed Hide fixed
@codecov
Copy link

codecov bot commented Mar 24, 2023

Codecov Report

Patch coverage: 85.61% and project coverage change: -6.08 ⚠️

Comparison is base (8c451e0) 93.87% compared to head (d0f66ab) 87.80%.

❗ Current head d0f66ab differs from pull request most recent head a56adf9. Consider uploading reports for the commit a56adf9 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
- Coverage   93.87%   87.80%   -6.08%     
==========================================
  Files           2        3       +1     
  Lines          49      164     +115     
==========================================
+ Hits           46      144      +98     
- Misses          2       20      +18     
+ Partials        1        0       -1     
Flag Coverage Δ
unittests 87.80% <85.61%> (-6.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
ingest/ingest.go 70.58% <59.18%> (-22.44%) ⬇️
pkg/dump/parse.go 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@xeptore xeptore marked this pull request as ready for review March 24, 2023 07:21
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
@xeptore xeptore force-pushed the 9-Add-support-for-wireguard-predown-hook branch from 82e5453 to 04da7b1 Compare March 24, 2023 09:43
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Signed-off-by: xeptore <29199390+xeptore@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for wireguard predown hook
1 participant